Changing conda environment in JupyterLab Sever

Hi everyone,

I have a JupyterLab server that is running in ubuntu 18.04. I created a conda environment within the terminal and installed some python packages like pytorch. However, the module is still not found when I import the library. Another thing is, I can’t switch conda environments in the JupyterLab server. Does anyone have any advice on what I can do to fix this issue?

Thank you!

Presumably, you’re not able to install packages in the server environment. However, if you are able to modify environment variables in the server environment, then perhaps you can make use of the PYTHONPATH environment variable in order to load packages from a user defined location.