简体   繁体   中英

Anaconda Spyder cant open

I am trying to open Spyder on root and I get the following error message:

ModuleNotFoundError: No module named 'IPython.core.inputtransformer2'

This error has been shown after trying to install a package with pip (and Spyder crashed).

I have even uninstalled Anaconda completely and reinstalled but the problem persists.

I had created a virtual environment where at least I can launch Spyder from here. But on root I just cant.

Any suggestions?

Had the same problem a while ago. You can upgrade IPython using the following command. Hope it resolves your issue.

conda update IPython -n envname

envname is the name of the environment you are trying to work in. Also, you might want to install sudo in the correct environment too if you haven't done already.

conda install -c odsp-test sudo

check all the requirements from the spyder installation page,

https://docs.spyder-ide.org/installation.html

update or install the requirements that are missing. This should work for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM