Changes between Version 25 and Version 26 of DevNotes/DevGuide/CondaDevSetup


Ignore:
Timestamp:
Jun 5, 2018 12:42:55 PM (6 years ago)
Author:
richardh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevNotes/DevGuide/CondaDevSetup

    v25 v26  
    6262}}} 
    6363== [=#anchor1 Step 6 - try the new qt gui (work in progress)] == 
    64 ''Some notes, updated 5th June 2018, based on a Windows 7 install. Start with Git bash in your sasview directory.'' 
     64''Some notes, updated 5th June 2018, based on a Windows 7 install. If you just want to see what the new gui looks like, Piotr may have a downloadable installer. Developers - start with Git bash in your sasview directory:'' 
    6565 
    6666source deactivate 
     
    6868git checkout ESS_GUI 
    6969 
    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''' in the pip section the lines for sasview and sasmodels, then '''add '''there - tinycc==1.1 the compiler for the models.'' 
     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''' in the pip section the lines for ''sasview ''and ''sasmodels'', then '''add '''there '''''- tinycc==1.1 '''''the compiler for the models.'' 
    7171 
    7272''[Note - if later whilst running sasview you have problems with models not compiling or loading, close sasview, delete the contents of the directory users/your-user-name/sasmodels/compiled_models, then re-start, which will force re-compilation using the current compiler.]'' 
     
    8484python run.py 
    8585 
    86 ''If run.py gives an error from line 1140 in readCategoryInfo, you likely have the old version of the categories file. Delete the file serial_cat.json from your user directory  ( c:/users/username/.sasview in Windows) and then run the latest *release* version of sasview. This will automatically generate the correct categories.json file.'' 
     86''If run.py gives an error from line 1140 in readCategoryInfo, you likely have the old version of the categories file. Delete the file serial_cat.json from your user directory  ( c:/users/username/.sasview in Windows) and then run the latest *release* version of sasview. This will automatically generate the correct categories.json file.'' 
    8787 
    88 ''You may then need to install 64 bit Microsoft Visual C++ 14.0 compiler by following the link requested, as the latest changes to use only TinyCC compiler are not yet merged with this branch. Other useful conda commands:'' 
     88''Other useful conda commands:'' 
    8989 
    9090conda info --envs      ''will show that you now have both sasview and qt5 environments.'' 
     
    9898conda env update -f=/path to your new yml file/conda_py3_qt5_env_new.yml --name qt5 
    9999 
    100 ''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.'' 
     100''If qt5 sasview does not run the first time through, try going back to the normal sasview master, then repeat the steps above (trust me it may then work!). Piotr and others will be making this easier in the future.'' 
    101101 
    102102== [=#anchor1 Step 7 - Install Git (Optional)] ==