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.
Related
I have tried many times to install Pipetorch in Spyder 5.3 with Python 3.8.10, but it failed.
I have tried as well conda as pip commands, but it does not work. If I use %pip I get this:
Note: you may need to restart the kernel to use updated packages. C:\Users\szewa\AppData\Local\Programs\Spyder\Python\python.exe: No module named pip
If I use conda I get this:
`ValueError: The python kernel does not appear to be a conda environment. Please use ``%pip install instead.`
Can someone help me? I can find nothing on internet that works...
You seem to be confused about the differences between pip and conda. Anyhow, your Python installation is messed up now and only a restart will help now.
The easiest way to use Python together with the Spyder IDE is to install Anaconda and learn some conda basics: Getting started with conda.
If you really want to install Spyder with standard Python, follow the recipe from Spyder installation without Anaconda, but it seems to be tricky.
I'm using Anaconda 3.8.5 on Windows 7.
The problem: I was trying to install a Google Colab module locally, because I wanted to run this notebook on a local runtime, and it needed a module called "google-colab" (evidently this is a lost cause, as the module is not open source). I attempted to install it using conda install -c conda-forge google-colab, which I found here.
It appeared to install something successfully, although the notebook on colab still didn't work. After installing, Anaconda Navigator refused to launch. A command prompt popped up and disappeared instantly, and nothing else happened. I uninstalled, I reinstalled. I followed this procedure. Nothing changed at all.
When I installed Anaconda on a virtual machine with a fresh install of Windows 7 and attempted that same janky install, the exact same thing happened. Any idea how I can get Anaconda navigator back? Anaconda command prompt still works. Thank you!
I have a problem with Spyder after updating it from 3.2.4 to 4.1.3 with
conda update spyder
The app didn't launch anymore and when I started it from the command prompt I got an error saying
File "C:\Users\TO3THY0\AppData\Local\conda\conda\envs\DataScience\lib\site-packages\spyder\plugins\ipythonconsole\widgets\debugging.py", line 22, in
from IPython.core.inputtransformer2 import TransformerManager ModuleNotFoundError: No module named 'IPython.core.inputtransformer2'
So I installed ipython using
conda install iptyhon
If I now click on the spyder app on my desktop the app won't even open. If I type into the command prompt:
spyder
the app opens but crashes after a few seconds. I am using Anaconda 5.0.1 and python 3.6.3. Unfortunately I don't get an error message or anything so I am quite lost now...
As I am quite new to programming I am not sure what other information could help to solve this problem so I am sorry for the vague question. Any help to find the reason or even a solution to this problem is highly appreciated.
I have the latest version of anaconda and installation using conda update spyder is constricted by anaconda -> requires spyder==4.0.1=py37_0. I guess the option is to downgrade to 4.0.1 using conda install spyder=4.0.1. If this doesn't help, try to reinstall Anaconda. Actually, the Spyder maintainer recommends:
It's usually better to use a new conda env to try major Spyder versions, instead of updating things in the base env.
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.
I used to compile on Spyder at work, so I downloaded Anaconda 4.2 with Python 3.5 64bit for installing it on my own PC too.
But it doesn't work!
Every time I try to open spyder or a Notebook, or even the Anaconda Navigator, it crashes and an error message of "Python stop working"
I tried to open spyder from command prompt too, to no avail.
On the other hand, if I open a Python shell from Windows Command Prompt, it works.
Any ideas?
You should tell us the exact and complete error message that you got. But you should probably uninstall Anaconda and all its parts (including Python), delete the .anaconda and related sub-folders in your Users folder, then reinstall Anaconda. If that doesn't work, let us know. Don't skip deleting those sub-folders: I solved one of my problems by doing that.
Check your firewall (try disabling it temporarily). That turned out to be the issue in my case (after trying to reinstall different versions of spyder/anaconda 20 times).
Run the following command conda update --all on Ananconda Prompt to solve this issue. In my case, it ended up downgrading Spyder from 4.0.1 to 3.3.5 (2 versions behind). If the version does not matter much to you, this will fix the error.