Conda Environment and Jupyter Notebook, Python 3.9.2

BLimitless

My Conda Environments are not showing up in my Jupiter Notebooks. I've reviewed all the (excellent) dialogue here, but it doesn't appear to work for python 3.9.2.

I tried the following, which didn't work:

conda install jupyter
conda install ipykernel
conda install nb_conda

Then when I try the following conda install nb_conda_kernels I get the following error:

Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: | 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                                                                                                                      

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - nb_conda_kernels -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']

Your python: python=3.9

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

How can I get my conda environments to show in jupyter notebooks in python 3.9.2? Thank you!

Gordon Bai

Try using the conda-forge channel, e.g.:

$ conda install -c conda-forge ipykernel

And you don't need to install jupyter if this conda env is just a kernel to add, if that's what you want to do.

After that, you need to run this in that conda env:

$ python -m ipykernel install --user --name vanilla --display-name "Python 3 (vanilla)"

Replace the name and display-name to your liking.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Conda Environment and Jupyter Notebook, Python 3.9.2

From Dev

Link Conda environment with Jupyter Notebook

From Dev

How to choose your conda environment in Jupyter Notebook

From Dev

Anaconda: Python 3 and 2 in IPython/Jupyter Notebook

From Dev

Conda Environment and Jupiter Notebook, Python 3.9.2

From Dev

Jupyter notebook with Python 2 and Python3 Kernel

From Dev

Jupyter Notebook - Python 3 kernel

From Dev

Choose python environment to launch spyder or jupyter notebook

From Dev

Conda/Python: Import Error - image not found in jupyter notebook only

From Dev

Python 3.x : Jupyter Notebook and Pandas

From Java

In which conda environment is Jupyter executing?

From Dev

How to switch to python 2.7 from python 3- jupyter notebook

From Java

How to add conda environment to jupyter lab

From Dev

How to start jupyter in an environment created by conda?

From Java

How to use Jupyter notebooks in a conda environment?

From Dev

How to add conda environment to jupyter lab

From Dev

How to use Jupyter notebooks in a conda environment?

From Dev

What does `exit` keyword do in Python3 with Jupyter Notebook?

From Dev

Rotate interactively a 3D plot in python - matplotlib - Jupyter Notebook

From Dev

Conda install - Python3, Tensorflow, skdata - one environment

From Dev

How to install pyzmq for iPython Notebook in a Python 3 virtual environment?

From Dev

How to make conda virtual environments persistent and available for tools such as Jupyter Notebook?

From Dev

HOW TO: Import TensorFlow in Jupyter Notebook from Conda with GPU support?

From Dev

How to make conda virtual environments persistent and available for tools such as Jupyter Notebook?

From Dev

Activating a new Conda env through shell from within Jupyter Notebook

From Java

Jupyter Notebook with Python 3.8 - NotImplementedError

From Dev

Jupyter Notebook Broken by Python 3.5

From Dev

Jupyter Notebook with Python 3.8 - NotImplementedError

From Dev

plotly inside jupyter notebook python

Related Related

  1. 1

    Conda Environment and Jupyter Notebook, Python 3.9.2

  2. 2

    Link Conda environment with Jupyter Notebook

  3. 3

    How to choose your conda environment in Jupyter Notebook

  4. 4

    Anaconda: Python 3 and 2 in IPython/Jupyter Notebook

  5. 5

    Conda Environment and Jupiter Notebook, Python 3.9.2

  6. 6

    Jupyter notebook with Python 2 and Python3 Kernel

  7. 7

    Jupyter Notebook - Python 3 kernel

  8. 8

    Choose python environment to launch spyder or jupyter notebook

  9. 9

    Conda/Python: Import Error - image not found in jupyter notebook only

  10. 10

    Python 3.x : Jupyter Notebook and Pandas

  11. 11

    In which conda environment is Jupyter executing?

  12. 12

    How to switch to python 2.7 from python 3- jupyter notebook

  13. 13

    How to add conda environment to jupyter lab

  14. 14

    How to start jupyter in an environment created by conda?

  15. 15

    How to use Jupyter notebooks in a conda environment?

  16. 16

    How to add conda environment to jupyter lab

  17. 17

    How to use Jupyter notebooks in a conda environment?

  18. 18

    What does `exit` keyword do in Python3 with Jupyter Notebook?

  19. 19

    Rotate interactively a 3D plot in python - matplotlib - Jupyter Notebook

  20. 20

    Conda install - Python3, Tensorflow, skdata - one environment

  21. 21

    How to install pyzmq for iPython Notebook in a Python 3 virtual environment?

  22. 22

    How to make conda virtual environments persistent and available for tools such as Jupyter Notebook?

  23. 23

    HOW TO: Import TensorFlow in Jupyter Notebook from Conda with GPU support?

  24. 24

    How to make conda virtual environments persistent and available for tools such as Jupyter Notebook?

  25. 25

    Activating a new Conda env through shell from within Jupyter Notebook

  26. 26

    Jupyter Notebook with Python 3.8 - NotImplementedError

  27. 27

    Jupyter Notebook Broken by Python 3.5

  28. 28

    Jupyter Notebook with Python 3.8 - NotImplementedError

  29. 29

    plotly inside jupyter notebook python

HotTag

Archive