Installation - B612-Asteroid-Institute/orb_it GitHub Wiki

Installation and Dependencies

This project requires a Linux Based System, Python 3, and working current installation of each integrator (preferably installed with conda if possible). It is beneficial to also have a conda based package manager and Jupyter for ease of use.

To install Orb_it as a python package, clone this repository, and cd into the folder. Then follow the directions below for your use case,

Installing Dependencies with conda

To install its dependencies in a new conda environment, use this command,

conda create -n myenv -c defaults -c conda-forge --file requirements.txt python=3.9

To install on a preexisting conda environment, first activate your environment, conda activate myenv, then,

conda install -c defaults -c conda-forge --file requirements.txt

Once all the dependencies have been installed, run this command to install the development version of this package,

python setup.py develop --no-deps

Installing Dependencies with pip

Just type in the command line,

python setup.py develop

Note: It is not recommended to use python setup.py install for installation since this project is still in development and may have frequent updates.


Then check if its properly installed by typing in the python command line,

>>> import orb_it