Skip to content

DevNotes_CondaDevEnviroment

Wojciech Potrzebowski edited this page Jun 14, 2022 · 32 revisions

Example for setting up developers enviroment using pip from conda envioremnt.
Note 1: This assumes that you have anaconda and git installed
Note 3: All commands should be executed from terminal

Setup conda enviroment:

conda create -n sasview_dev python=3.9

Activate enviroment

conda activate sasview_dev

Download requirements file

https://github.com/SasView/sasview/blob/env_setup/build_tools/requirements.txt

Install dependencies:

pip install -r build_tools/requirements.txt

Clone sasview and sasmodels repose

git clone https://github.com/SasView/sasview.git
git clone https://github.com/SasView/sasmodels.git

Install sasmodels and sasview

Go to sasmodels and sasview folders (separetly) and run:
python setup.py install

Clone this wiki locally