I have a miniconda3 installation where I created a virtual environment called py35. I have several libraries that I want to use only in this environment. therefore they are under
/.../miniconda3/envs/py35/libs
However, they were not found from the environment because LD_LIBRARY_PATH does not contain the specified folder. Now I want to set LD_LIBRARY_PATH to include / lib only when I'm in a virtual environment.
I was thinking about changing the activation script that miniconda uses to start the environment, but I'm not quite sure if this is standard practice or there is an easier way to achieve this.
source
share