Skip to content

DevNotes_CondaDevEnviroment

Steve K edited this page Sep 15, 2023 · 29 revisions

Example for setting up developers environment using pip and conda.

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)

Note 3: The conda environment itself can be updated with the command

conda update -n base -c defaults conda

Setup conda enviroment:

conda create -n sasview_dev python=3.9

Activate the enviroment

conda activate sasview_dev

Clone sasview, sasdata, and sasmodels repositories

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

Go to sasview folder and install dependencies:

pip install -r build_tools/requirements.txt

Install sasdata, sasmodels, and sasview

Navigate to sasdata, sasmodels, and sasview folders (separately) and run:

python setup.py install 

Navigate to the sasview folder and run:

python run.py
Clone this wiki locally