Conda Environment and Jupiter 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 debug[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

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

Conda install - Python3, Tensorflow, skdata - one environment

From Dev

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

From Dev

Anaconda: Python 3 and 2 in IPython/Jupyter Notebook

From Dev

Python interpreter is not in a environment, but conda reports it is in a environment

From Dev

Ipython notebook - Create a new notebook (Python conda or default Python)

From Dev

use conda environment in sublime text 3

From Dev

Jupyter notebook with Python 2 and Python3 Kernel

From Java

How to create conda environment with specific python version?

From Dev

Conda Python environment missing DLL file on Windows

From Dev

How to create conda environment with specific python version?

From Dev

Python path changes depending on conda environment?

From Dev

How do I change the colour of 1 specific bar in a bar chart using Python- IDE Jupiter Notebook

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

Jupyter Notebook - Python 3 kernel

From Dev

Python path issue with dirname: command not found and conda environment python not found

From Java

How to change Python version of existing conda virtual environment?

From Dev

Installing a package in Conda environment, but only works in Python not iPython?

From Dev

Why conda cannot create environment with python=3.4 installed in it

From Dev

How to execute python from conda environment by dvc run

From Java

Using both Python 2.x and Python 3.x in IPython Notebook

From Dev

python custom sort list 1/2/3/../9/10

From Dev

python custom sort list 1/2/3/../9/10

From Dev

conda install -c conda-forge python-pdal Solving environment: | hangs when running windows 10

From Dev

Building packages with conda and python3k

Related Related

  1. 1

    Conda Environment and Jupyter Notebook, Python 3.9.2

  2. 2

    Conda Environment and Jupyter Notebook, Python 3.9.2

  3. 3

    Link Conda environment with Jupyter Notebook

  4. 4

    How to choose your conda environment in Jupyter Notebook

  5. 5

    Conda install - Python3, Tensorflow, skdata - one environment

  6. 6

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

  7. 7

    Anaconda: Python 3 and 2 in IPython/Jupyter Notebook

  8. 8

    Python interpreter is not in a environment, but conda reports it is in a environment

  9. 9

    Ipython notebook - Create a new notebook (Python conda or default Python)

  10. 10

    use conda environment in sublime text 3

  11. 11

    Jupyter notebook with Python 2 and Python3 Kernel

  12. 12

    How to create conda environment with specific python version?

  13. 13

    Conda Python environment missing DLL file on Windows

  14. 14

    How to create conda environment with specific python version?

  15. 15

    Python path changes depending on conda environment?

  16. 16

    How do I change the colour of 1 specific bar in a bar chart using Python- IDE Jupiter Notebook

  17. 17

    Choose python environment to launch spyder or jupyter notebook

  18. 18

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

  19. 19

    Jupyter Notebook - Python 3 kernel

  20. 20

    Python path issue with dirname: command not found and conda environment python not found

  21. 21

    How to change Python version of existing conda virtual environment?

  22. 22

    Installing a package in Conda environment, but only works in Python not iPython?

  23. 23

    Why conda cannot create environment with python=3.4 installed in it

  24. 24

    How to execute python from conda environment by dvc run

  25. 25

    Using both Python 2.x and Python 3.x in IPython Notebook

  26. 26

    python custom sort list 1/2/3/../9/10

  27. 27

    python custom sort list 1/2/3/../9/10

  28. 28

    conda install -c conda-forge python-pdal Solving environment: | hangs when running windows 10

  29. 29

    Building packages with conda and python3k

HotTag

Archive