Updating Aesara

Follow one of these three sections depending on how you installed Aesara.

You should update frequently, bugs are fixed on a very regular basis, and features are added even more frequently!

Stable Installation

The following command will update only Aesara:

<sudo> pip install <--user> <--no-deps> aesara
  • Use sudo for a root installation.
  • Use user for a user installation without admin rights. It will install Aesara in your local site-packages.
  • Use no-deps when you don’t want the dependencies of Aesara to not be installed through pip. This is important when they have already been installed as system packages.

Warning

If you installed NumPy/SciPy with yum/apt-get, updating NumPy/SciPy with pip/easy_install is not always a good idea. This can make Aesara crash due to problems with BLAS. The versions of NumPy/SciPy in the distribution are sometimes linked against faster versions of BLAS. Installing NumPy/SciPy with yum/apt-get/pip/easy_install won’t install the development package needed to recompile it with the fast version. To fix a possible crash, you can clear the Aesara cache like this:

aesara-cache clear

Bleeding-Edge Installation

The following command will update your bleeding-edge version of Aesara

<sudo> pip install <--user> <--no-deps> git+https://github.com/aesara-devs/aesara.git#egg=Aesara
  • Use sudo for a root installation.
  • Use user for a user installation without admin rights. It will install Aesara in your local site-packages.
  • Use no-deps when you don’t want the dependencies of Aesara to not be installed through pip. This is important when they have already been installed as system packages.

Warning

If you installed NumPy/SciPy with yum/apt-get, updating NumPy/SciPy with pip/easy_install is not always a good idea. This can make Aesara crash due to problems with BLAS. The versions of NumPy/SciPy in the distribution are sometimes linked against faster versions of BLAS. Installing NumPy/SciPy with yum/apt-get/pip/easy_install won’t install the development package needed to recompile it with the fast version. To fix a possible crash, you can clear the Aesara cache like this:

aesara-cache clear

Developer Installation

To update your library to the latest revision, change directory (cd) to your Aesara folder and execute the following command:

Warning

The following assumes you have knowledge of git and know how to do a rebase.

git pull --rebase