-
Notifications
You must be signed in to change notification settings - Fork 48
DevNotes_DevEnvironmentInstall
Before proceeding, make sure that you have git installed. Note this can sometimes be done as part of your IDE setup (e.g. vscode, spider, pycharm etc) if you are using one.
The most up to date quick instructions for setting a developer environment, once git is installed, now reside in the SasView install.md file. Those instructions are for the current preferred python virtual environment or venv. However using Conda or uv are also viable options as noted there. Below are some instructions for using a Conda environment instead.
Note 1: These assume that you have a free conda installer e.g. miniforge available
Note 2: All commands should be executed from a terminal window (Terminal on OSX and Linux or Miniforge Prompt or Anaconda Prompt on Windows)
Note 3: The conda environment itself can be updated with the command
conda update --all
conda create -n sasview_dev python=3.12
NB: As of Apr 2026 the default Python version for Miniforge is 3.13. This is fine if you only intend to write/revise/compile documentation.
NB: As of Nov 2025 the GUI version of SasView will only run under Python 3.12. Email help@sasview.org for the latest information.
conda activate sasview_dev
git clone https://github.com/SasView/sasview.git
git clone https://github.com/SasView/sasmodels.git
git clone https://github.com/SasView/sasdata.git
NB: The git clone command will take a second argument specifying a destination folder.
NB: If you are only intending to write/revise/compile model documentation it is only necessary to clone the sasmodels repository.
Follow instructions in the install.md as listed at the top
First, deactivate the environment
conda deactivate
This should drop you into the base environment. Then remove the required environment
conda remove --name ENV_NAME --all
For good measure then navigate to your Anaconda installation folder and the \envs subfolder. Delete any folder in there matching the environment you just removed.
Decide if you want to update conda itself (see Note 3 above).
Then proceed to set up a new environment.
- View/Subscribe to the SasView Calendar
- Fortnightly developer's agenda/minutes
- Developer Guides
- Admin Processes and Procedure Notes
- Active Project Pages
- Historical Archive of Obsolete Pages
- Contributor e-Learning Course (free)
- Non Coding contribution needs/projects
- New functionality projects
- acknowledging contributions