Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
109 lines (69 sloc) 2.82 KB


The code has been tested with the March 2019 release of Python:

The packages listed below are required to run ASteCA.

The code also uses the packages:

but these two are included in the ASteCA download.

Working environment

We use the conda package and environment manager to install all the necessary dependencies to run ASteCA in an isolated Python environment. To install it:

  1. Go to and download the appropriate version for your system. I recommend using the Python 3.x version and will assume in what follows that you are running a 64 bit Linux system.

  2. Install with

    $ bash

    Select yes when asked: Do you whish the installer to prepend the Miniconda3 install location to PATH in your ~/path?

  3. Close and re-open your terminal window for the changes to take effect. Move inside the directory where you extracted the ASteCA package.

  4. Create a virtual environment with

    $ conda create --name asteca python=3.7.3 matplotlib=3.1.0 numpy=1.16.4 scipy=1.2.1 astropy=3.1.2
  5. Activate the environment

    $ conda activate asteca

    (for Windows users the command is $ activate asteca)


    You can tell that the environment is activated because its name is now shown in the terminal before the $ symbol as:

    (asteca) $

    You need to activate this environment each time before attempting to run ASteCA, otherwise no installed packages will be detected.


The latest packaged release (zip or tarball) can be downloaded from Github. After downloading, extract the compressed file wherever you want the code to exist. Alternatively the entire project can be cloned via git with (Linux command):

$ git clone

which will create a sub-folder named /ASteCA.


With the environment properly created (and activated) and the code downloaded, you can run ASteCA with:

(asteca) $ python
You can’t perform that action at this time.