I would like to use it with Jupyter Lab, a virtual environment created using virtualenv in the Terminal of my computer.
When I want to use the environment in the Terminal, I run workon ami, ami is the name of the environment and it works fine. I have installed some modules such as matplotlib, which I can use inside this environment.
I have tried to use this environment in Jupyter Lab. I have run
python -m ipykernel install --user --name=ami
The name ami can be selected as a kernel in the Jupyter Lab session, but the matplotlib module is not installed. It seems the ami environment created is not the same as that used in the Terminal.
I have tried to install Jupyter Lab in the ami environment, but it does not have matplotlib installed.
I would like to use the environment in Jupyter Lab without installing the Python modules that I already installed.
activateyour virtualenv?workon amiand the modules load is correct. For example, I can import matplotlib. However, when I startjupyter laband useamikernel then the modules are not there and I cannot import them.workonrequires a shell, and you don't run a shell inside Jupyter, do you?workon amiand then runjupyter-notebook. However, it does not work running the notebook injupiter lab. Is there any way to use the environment injupyter lab?. Theamikernel I want to use is there but modules installed in the environment are not.