0

I wish to use jupyter lab for my projects. I have python 3.11 installed via anaconda. 


When I create a virtual environment, jupyter lab is not installed.

How can I avoid many double installations of programmes for each venv?

IF I create venv via conda create -> jupyter lab is not installed.

IF I create venv with python3 -m venv nameofvenv and type “jupyter lab” in terminal -> jupyter lab will open but NOT running on the kernel of the newly created venv?

I download large models for each venv and I don’t like using space of 10 x 500 mb pr. env.

Can you help me with finding a single JupyterLab installation accessible across different environments?

3
  • Perhaps the solution is to open jupyter lab, then create the venv with jupyter's terminal, then run "python -m ipykernel install --user --name=myenv", cf. zainrizvi.io/blog/… Commented Feb 25 at 10:10
  • nb_conda_kernels - "This extension enables a Jupyter Notebook or JupyterLab application in one conda environment to access kernels for Python, R, and other languages found in other environments. When a kernel from an external environment is selected, the kernel conda environment is automatically activated before the kernel is launched. This allows you to utilize different versions of Python, R, and other languages from a single Jupyter installation."see stackoverflow.com/a/74159968/8508004 and github.com/Anaconda-Platform/nb_conda_kernels Commented Feb 25 at 15:54
  • <continued> plus see here. I know I have seen a better reference that succinctly summarizes your issue and solutions but I am not finding it right now. So if someone who remembers votes to close your answer, don't take it personally because this is covered in several places already & they may have the link. Commented Feb 25 at 15:57

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.