Python 没有 Anaconda 的 Spyder 安装

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/46587226/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-19 17:43:11  来源:igfitidea点击:

Spyder installation without Anaconda

pythonspyder

提问by Piotr Koller

I already have Python 3.6 (32-bit) on Windows 7. Is there a way to install Spyder without downloading Anaconda, WinPython, etc. ?

我已经在 Windows 7 上安装了 Python 3.6(32 位)。有没有办法在不下载 Anaconda、WinPython 等的情况下安装 Spyder?

回答by Carlos Cordoba

You need to run in a system terminal (cmd.exe) these commands

您需要在系统终端(cmd.exe)中运行这些命令

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.

但是请注意,这种安装方式不建议初学者使用,只适合非常有见识的程序员,因为如果在安装过程中出现错误,您需要非常了解所有Spyder依赖项才能解决。

回答by Anuj N

You need to run the following commands in order to install and run the Spyder3without anaconda:

您需要运行以下命令才能安装和运行Spyder3不带 anaconda 的程序:

 1. python -m pip install pyqt5
 2. python -m pip install spyder
 3. python -m pip install PyQtWebEngine
 4. spyder3 (to launch spyder)

Package in point 3 also needs to be installed explicitly.

第 3 点中的软件包也需要明确安装。

回答by Anuj N

Installation SpyderInstall 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

安装 Spyder安装 Spyder 及其其他依赖项,运行pip install spyder. 如果在 Python 2 下运行,您可能需要使用 pip 单独安装 Qt 绑定(PyQt5)

Launch SpyderTo launch Sypder go to your Python installation directory. in my case C:\Program Files (x86)\Python\Scripts

启动Spyder要启动Sypder,请转到您的Python 安装目录。在我的情况下 C:\Program Files (x86)\Python\Scripts

Launch spyder3.exe

启动 spyder3.exe

回答by Ali

According to the Sypder-Docs, After installing the Python, run the following command:

根据Sypder-Docs,安装 Python 后,运行以下命令:

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)

(在 pip install 中不要在 spyder 前面使用“3”)。之后,通过在命令窗口中输入 spyder3 来运行它(这里需要“3”)