...
Code Block |
---|
export PYTHONUSERBASE=$CONDA_PREFIX |
Issue: conda create without defining python
This appears to not work if the created conda environment does not explicitly define it’s own version of python i.e. it’s using the version that comes with miniconda3.
Performing a pip install
places the python packages under /apps/u/opt/linux/miniconda3/x.y.z/lib/python3.xx/site-packages/
Code Block |
---|
[]$ conda create -p 1.0.0
vs
[]$ conda create -p 1.0.0 python |
Overall Suggestion:
If you’re performing local development, and not sharing, use a module load python/x.y.z
- track the version of python and pip install
into your local home.
...