Can't import torch in jupyterlab


I install pytorch in my virtual environment via conda. But I canโ€™t import it in jupyterlab. I open jupyterlab from anaconda navigator. But I can import it in Jupyter notebook. I want to use jupyterlab. :grinning::grinning: Does anyone know how to fix this problem.

Thank you :blush::blush:

Did you install jupyterlab in the conda environment that youโ€™re using? I think that if you have installed it in the base environment, you can launch it from another environment, but donโ€™t have acces to the packages from another environment.

1 Like