I already have Python 3.6 (32-bit) on Windows 7. Is there a way to install Spyder without downloading Anaconda, WinPython, etc. ?
I already have Python 3.6 (32-bit) on Windows 7. Is there a way to install Spyder without downloading Anaconda, WinPython, etc. ?
You need to run the following commands in order to install and run the Spyder3 without anaconda:
1. python -m pip install pyqt5
2. python -m pip install spyder
3. python -m pip install PyQtWebEngine
4. spyder (to launch spyder)
Package in point 3 also needs to be installed explicitly.
You need to run in a system terminal (cmd.exe) these commands
pip install spyder
pip install pyqt5
However, please be aware that this kind of installation is not recommended for beginners, but only for very knowledgeable programmers, because if errors appear during the installation, you need to know very well all Spyder dependencies to solve them.
Installation Spyder
Install Spyder and its other dependencies, run pip install spyder. You may need to install a Qt binding (PyQt5) separately with pip if running under Python 2
Launch Spyder To launch Sypder go to your Python installation directory. in my case C:\Program Files (x86)\Python\Scripts
Launch spyder3.exe
They’ve recently provided stand-alone installers for Mac & Windows, including a “lite” version.
I’ve struggled a lot on this on Windows. This is what I did and worked clean (without Python, Anaconda or Spyder allready installed - if any allready installed uninstalit). The following worked today but, I'll think, it will be ok in the near future too.
Install PYTHON exe https://www.python.org/ftp/python/3.9.10/python-3.9.10-amd64.exe
Install SPYDER exe https://github.com/spyder-ide/spyder/releases/latest/download/Spyder_64bit_full.exe
In Spyder, change the Interpreter:
Tools -> Preferences -> Use the following Python interpreter: (myne is C:\Program Files\Python39\python.exe)
Hit Apply, hit OK.
You will receive a message like this:
The Python environment or installation whose interpreter is located at C:\Program Files\Python39\python.exe doesn't have the spyder kernels module or the right version of it installed (>= 2.2.1 and < 2.3.0). Without this module is not possible for Spyder to create a console for you. You can install it by activating your environment (if necessary) and then running in a system terminal: conda install spyder kernels=2.2 or pip install spyder kernels==2.2.
Remember this from above: (>= 2.2.1 and < 2.3.0)
pip install spyder-kernels==2.2.1
In Spyder:
import pandas as pd
It’s OK error: ModuleNotFoundError: No module named 'pandas'
In CMD: pip install pandas
After that, in Spyder:
import pandas as pd
print(pd.__version__)
1.4.1
If no errors occurs and some version appears, than Python and Spyder work together. End of test.
According to the Sypder-Docs, After installing the Python, run the following command:
pip install PyQt5 Qtconsole Rope Pyflakes Sphinx Pygments Pylint Pycodestyle Psutil Nbconvert Qtawesome Pickleshare PyZMQ QtPy Chardet Numpydoc Cloudpickle PyQtWebEngine spyder
(Do not use "3" in front of spyder in pip install). After that, run it by typing in spyder3 in command window (Here "3" is required)