Changes between Version 22 and Version 23 of DevNotes/CondaDevSetup


Ignore:
Timestamp:
Jun 5, 2018 11:15:26 AM (6 months ago)
Author:
richardh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevNotes/CondaDevSetup

    v22 v23  
    77 * 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. 
    88 
    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. 
    1011 
    1112== Step 2 - Download !SasView and sasmodels from github == 
     
    6768git checkout ESS_GUI 
    6869 
    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. '' 
    7071 
    7172conda env create -f=/path to your new yml file/conda_py3_qt5_new.yml 
     
    9192''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.'' 
    9293 
     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 
     96conda env update -f=/path to your new yml file/conda_py3_qt5_new.yml --name qt5 
     97 
    9398''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.'' 
    9499