Trying to install spyder using pip
:
pip install spyder
This error pops up:
Cannot uninstall 'ipython'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
To use pip to uninstall a package locally in a virtual environment: Open a command or terminal window (depending on the operating system) cd into the project directory. pip uninstall <packagename>
Go to anaconda3→Lib→site-packages, find the corresponding old version file, and delete it directly.
PIP is automatically installed with Python 2.7.9+ and Python 3.4+ and it comes with the virtualenv and pyvenv virtual environments.
You can upgrade ipython without uninstall the old version
sudo -H pip install --ignore-installed -U ipython
Just solved with:
sudo apt-get remove ipython
For Python 2:
pip install --upgrade --force-reinstall --no-cache-dir Spyder
For Python 3:
pip3 install --upgrade --force-reinstall --no-cache-dir Spyder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With