How can stop running two Python3 Versions on Jupyter Notebook? - python

After reset my Mac, I installed Anaconda3 and add Python2 environment to Jupyter Notebook. Then I have this problem when I click the tap. enter image description here
Always two same functions appears. Therefore, I guess Jupyter Notebook is working on two Python3s. How can I solve this? Anybody had the same problem?
Environment: macOS High Sierra
Python3 3.6.4 installed from Anaconda.
Python2 2.7.15 already installed from macOS (I guess).
Anaconda 4.4.10
Jupyter 5.4.0
Thanks in advance

Related

Spyder 5.1.5 kernel hangs and 5.2.1 won't work with conda

I had the same issue with kernel hanging on valid scripts:
spyder kernel hangs...
Spyder 5.2 isn't available yet in Anaconda, but I installed it via the link provided in the answer above. When I attempt to get it to use my current conda environment, I get the following error:
Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed (>= 2.2.0 and < 2.3.0). Without this module is not possible for Spyder to create a console for you.
You can install it by running in a system terminal: conda install spyder‑kernels=2.2
I can't update conda from sypder-kernel=2.1.3 to 2.2.0 due to numerous conflicts.
I'm wondering if anyone has any ideas on how I might get Spyder 5.2 working with Anaconda, or do I simply have to wait for it to be released by Anaconda? I'm not that savvy in this type of thing.
I had the same problem with spyder 5.2.1, I opened cmd and typed:
pip install spyder-kernels==2.2.0
Then it downloaded the right kernel and after opening spyder I didn't get any error related to its kernel version.

i installed python 3.9, all my libraries installed using pip doesnt work in jupyter notebook

i installed python 3.9 and then installed anaconda for use jupyter notebook.
why all the packages than i install using pip install selenium (for ex) doesnt work in jupyter notebook?
all the packages installed using pip install must work but didnt
HELP ME PLEASE
Thnks you
This must be due to jupyter notebook and python (in the terminal) using two different installations of python. Jupyter notebook generally uses anaconda, which is not the default in the terminal. Then, any libraries installed won't reflect in anaconda.
You can either move the anaconda installation to PATH, or can run !pip install [library] in the jupyter notebook.

ANACONDA NAVIGATOR not lauching

As soon as I click on anaconda navigator it does not respond. There are no warnings or errors. I did not click on anything. Please help. I just purchased a python course from an online platform and they asked me to use anaconda navigator. Please help.
I am on Windows 10.
First try launching anaconda-navigator from the anaconda prompt. If that works, do the below.
This happened to me and this is how I resolved it.
I uninstalled all python versions (Anaconda and Normal Python).
Reinstall the 64 bit version of anaconda (if you also want the normal python, install the normal python 64 bit first and then the anaconda).
Try launching the anaconda-navigator now.
Kindly check if you fulfill these requirements:
Windows 10 x86_64 or newer
macOS 10.14+, 64-bit
Ubuntu 14+/Centos7+, 64-bit
The most current installation of Navigator also supports Python versions 2.7 and 3.5+.
Moreover, try this one conda update anaconda-navigator.
Here you might face issue with conda if navigator is not launched.

How do I get Spyder to launch after Catalina update with fresh anaconda install?

I've been using Anaconda spyder (Python 3.7) on MacOS Catalina for about the past 3-4 weeks for a project I have been working on. However, I have noticed that after clicking launch on the navigator that Spyder won't launch. I have tried a clean install of anaconda using both pkg installer and command line installer. To uninstall I use anaconda-clean.
If anyone has ran into this issue and has found a solution please let me know. I would also accept a similar development environment that has a good object inspector like Spyder.

Python crashes when trying to start Anaconda navigator

I just installed the Anaconda package (64 bit, python 2.7) on my Windows 10.
Python itself works fine. The programmed code gets executed fine.
However, when I try to run the Anaconda Navigator or try to run conda command in the windows prompt python crashes.
A windows error pops up, telling me "Python has stopped working".
Does anyone have an idea how I can fix this? I tried to reinstall the Anaconda package, but it didn't work.
Generally uninstalling Anaconda might break the newer installations.
Try this, it help me solve similar issues with missing Anaconda Navigator and broken anaconda installations after an uninstallation.
Hope it helps you. :)
EDIT
The version of new packages should be the same with the base Miniconda.
For Python2 do conda install anaconda=5.3.1=py27_0 anaconda-navigator=1.9.6=py27_0.
The important thing to specify the Python 2.7 build.
You can search more information about packages with the conda show <package> command for versions and builds.

Categories

Resources