Spyder 4.1.3 always crashes after a few seconds - python

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.

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.

Tried to install a google-colab module. Now Anaconda Navigator will not launch, even after uninstalling, reinstalling, updating, resetting etc

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!

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.

Spyder not running after upgrade

my spyder won't run after I upgraded it. How do I restore previous version in ubunutu? Don't have anaconda platform so conda command isn't an option. Tried to uninstall/install but nothing happens.
Thanks a lot of your help,
newbie

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