Skip to content

DevNotes_CondaDevEnviroment

Wojciech Potrzebowski edited this page Aug 24, 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 2: All commands should be executed from terminal (Terminal on OSX and Linux and Anaconda Prompt on Windows)

Setup conda enviroment:

conda create -n sasview_dev python=3.9

Activate enviroment

conda activate sasview_dev

Clone sasview and sasmodels repositories

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

Go to sasview folder and install dependencies:

pip install -r build_tools/requirements.txt

Install sasmodels and sasview

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

Eventually in the sasview folder run:

python run.py

Clone this wiki locally