Installation#
I recommend using the conda package and environment manager to install ASteCA
in an isolated Python environment. To install conda
, follow these steps:
Go to https://conda.io/miniconda.html and download the appropriate version for your system. I will assume in what follows that you are running a 64 bit Linux system.
Open a terminal instance where this file was downloaded, and install with the command:
$ bash Miniconda3-latest-Linux-x86_64.sh
Select yes when asked: Do you whish the installer to prepend the Miniconda3 install location to PATH in your ~/path?
Restart your terminal for the changes to take effect.
Create a virtual environment for ASteCA with the command:
$ conda create --name asteca python=3.11
Activate the environment:
$ conda activate asteca
Important
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.
Finally, install ASteCA with:
(asteca) $ pip install asteca
If everything went well, you can now access a Python
shell within your conda
environment and import ASteCA:
(asteca) $ python
Python 3.11.5 (main, Sep 11 2023, 13:54:46) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import asteca
>>> asteca.__version__