Python environment setup in linux

Installing conda

Run the following commands:

wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.12.0-Linux-x86_64.sh

bash Miniconda3-py37_4.12.0-Linux-x86_64.sh


Creating conda environment

To create and environment myenv:

conda create -n myenv python=#version

conda update conda

Currently all the software tools of SSL are developed using python 3.7


Activating conda environment

conda activate myenv


Required package installation

  1. Create a requirement list as text file (req.txt) with one package in each line
  2. Run pip using the following line:

pip install -r req.txt

List of required python packages (non-exhaustive)

  • numpy
  • scipy
  • pandas
  • poliastro
  • keras
  • scikit-learn