Changes between Version 4 and Version 5 of cypress/AnacondaInstallPackage


Ignore:
Timestamp:
11/27/19 13:58:48 (5 years ago)
Author:
cbaribault
Comment:

Added unset PYTHONPATH and related info.

Legend:

Unmodified
Added
Removed
Modified
  • cypress/AnacondaInstallPackage

    v4 v5  
    2828}}}
    2929
    30 'my_root' is the name of environment that you decide.
    31 Then,
     30'my_root' is the name of environment that you decide.
     31
     32Also, in general in conda environments, python should not be using PYTHONPATH. (For more information, see https://conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#conda-reports-that-a-package-is-installed-but-it-appears-not-to-be.)
     33
     34In particular, if you encounter errors during python module import, then you should unset PYTHONPATH prior to activating your conda environment.
     35
     36Hence,
    3237
    3338 {{{
     39unset PYTHONPATH
    3440source activate my_root
    3541}}}
     
    5359module load anaconda3/5.1.0
    5460export CONDA_ENVS_PATH=/lustre/project/mygroup/myuser/conda-envs
     61unset PYTHONPATH
    5562source activate my_root
    5663}}}