How to Install
Installing Avalanche has Never Been so Simple
Avalanche has been designed for extreme portability and usability. Indeed, it can be run on every OS and native python environment. 💻🍎🐧
📦 Installing Avalanche with Pip
you can install Avalanche with pip:
That's it. Now you can start using Avalanche.
Installing the Master Branch Using Anaconda
We suggest you to use the pip package, but if you need some recent features you may want to install directly from the master branch. In general, the master branch is well tested and safe to use. However, the API of new features may change more frequently or break backward compatibility. Reproducibility is also easier if you use the pip package.
You can test your installation by running the examples/test_install.py
script. Make sure to include avalanche into your $PYTHONPATH if you are running examples with the command line interface.
💻 Developer Mode Install
Assuming you have Anaconda (or Miniconda) installed on your system, you can follow these simple steps:
Install the
avalanche-dev-env
environment and activate it.Update the Conda Environment.
These three steps can be accomplished with the following lines of code:
You can test your installation by running the examples/test_install.py
script. Make sure to include avalanche into your $PYTHONPATH if you are running examples with the command line interface.
That's it. now we have Avalanche up and running and we can start contribute to it!
🤝 Run it on Google Colab
You can run this chapter and play with it on Google Colaboratory:
Last updated
Was this helpful?