Changes between Version 22 and Version 23 of DevNotes/DevGuide/CondaDevSetup
- Timestamp:
- Jun 5, 2018 11:15:26 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevNotes/DevGuide/CondaDevSetup
v22 v23 7 7 * At the Advanced Options screen, you need to consider whether or not you want to make Anaconda your default version of Python. Developers who do not work on multiple Python projects can just accept the defaults here. 8 8 9 * By default of Windows anaconda is installed for single user and not "everyone", which means you cannot run the conda command from an arbitrary command window. If you proceeded with default installation, you need to open Anaconda Prompt from Menu Start. Otherwise you can install anaconda for everyone, which requires root privlidges. If "conda" is not a recognised command then add the install directory to your Windows user Path variable. 9 * By default of Windows anaconda is installed for single user and not "everyone", which means you cannot run the conda command from an arbitrary command window. If you proceeded with default installation, you need to open Anaconda Prompt from Menu Start. Otherwise you can install anaconda for everyone, which requires root privlidges. If "conda" is not a recognised command then add the install directory to your Windows user Path variable.[[BR]] 10 * If you have a failing reference to a "conda.binstar.org/!PeterParker/win-64/repodata.json" file, then edit this out of the anaconda start up file at users/username/.condarc as you may still have left it there from an older sasview installation system. 10 11 11 12 == Step 2 - Download !SasView and sasmodels from github == … … 67 68 git checkout ESS_GUI 68 69 69 ''Look for sasview/build_tools/conda_py3_qt5 .yml, open it in an editor, save it somewhere else outside of git control, '''remove''' any pip lines for sasview and sasmodels which will elsewise throw errors. (Also added a line '' - tinycc==1.1 '' but don't know if that was absolutely necessary)''70 ''Look for sasview/build_tools/conda_py3_qt5_env.yml, open it in an editor, save it somewhere else outside of git control, '''remove''' any pip lines for sasview and sasmodels which will elsewise throw errors. '' 70 71 71 72 conda env create -f=/path to your new yml file/conda_py3_qt5_new.yml … … 91 92 ''will remove the qt5 environment, though the files involved seem to stay on your hard drive so a new ''conda env create ''is much faster than the first time.'' 92 93 94 ''if something fails part way through creating an environment, such as not removing the pip install for sasview & sasmodels, then "update" will be faster e.g.'' 95 96 conda env update -f=/path to your new yml file/conda_py3_qt5_new.yml --name qt5 97 93 98 ''If it does not work the first time through, try going back to the normal sasview master, then repeat the steps above. Piotr and others will be making this easier in the future.'' 94 99