win10 linux spyder,python
我似乎无法在Windows 10版本1607 build 14393上使用Pip with Python 3.7.0卸载Spyder。一旦完成安装,在PowerShell中键入“spyder3”会创建一个简短的旋转轮,然后什么都不做。
我在同一版本的Windows虚拟机中验证了这个问题,安装了Python 3.7.0全新的pip安装spyder,然后仍然遇到了同样的问题。
这是我在安装时得到的输出(可能是有用的东西,我不知道)
PS C:\Users\Jack\Downloads> pip install spyder
Collecting spyder
Downloading .3.3-py3-none-any.whl (2.8MB)
100% |████████████████████████████████| 2.8MB 6.6MB/s
Collecting qtconsole>=4.2.0 (from spyder)
Downloading .4.3-py2.py3-none-any.whl (113kB)
100% |████████████████████████████████| 122kB 5.7MB/s
Collecting pickleshare (from spyder)
Downloading .7.5-py2.py3-none-any.whl
Collecting pycodestyle (from spyder)
Downloading .5.0-py2.py3-none-any.whl (51kB)
100% |████████████████████████████████| 51kB ...
Collecting jedi>=0.9.0 (from spyder)
Downloading .13.3-py2.py3-none-any.whl (178kB)
100% |████████████████████████████████| 184kB 11.0MB/s
Collecting pylint (from spyder)
Downloading .3.1-py3-none-any.whl (765kB)
100% |████████████████████████████████| 768kB 6.4MB/s
Collecting numpydoc (from spyder)
Downloading .8.0.tar.gz
Collecting cloudpickle (from spyder)
Downloading .8.0-py2.py3-none-any.whl
Collecting pyqt5<=5.12; python_version >= "3" (from spyder)
Downloading .12-5.12.1_a-cp35.cp36.cp37.cp38-none-win_amd64.whl (49.4MB)
100% |████████████████████████████████| 49.4MB 204kB/s
Collecting pygments>=2.0 (from spyder)
Downloading .3.1-py2.py3-none-any.whl (849kB)
100% |████████████████████████████████| 849kB 6.5MB/s
Collecting spyder-kernels<1.0,>=0.4.2 (from spyder)
Downloading .4.2-py2.py3-none-any.whl (53kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting psutil (from spyder)
Downloading .6.1-cp37-cp37m-win_amd64.whl (230kB)
100% |████████████████████████████████| 235kB 6.6MB/s
Collecting chardet>=2.0.0 (from spyder)
Downloading .0.4-py2.py3-none-any.whl (133kB)
100% |████████████████████████████████| 143kB ...
Collecting pyzmq (from spyder)
Downloading .0.1-cp37-cp37m-win_amd64.whl (1.0MB)
100% |████████████████████████████████| 1.1MB 6.5MB/s
Collecting sphinx (from spyder)
Downloading .8.5-py2.py3-none-any.whl (3.1MB)
100% |████████████████████████████████| 3.1MB 6.4MB/s
Collecting nbconvert (from spyder)
Downloading .4.1-py2.py3-none-any.whl (407kB)
100% |████████████████████████████████| 409kB 6.6MB/s
Collecting rope>=0.10.5 (from spyder)
Downloading .12.0.tar.gz (246kB)
100% |████████████████████████████████| 256kB 6.6MB/s
Collecting keyring; sys_platform != "linux2" (from spyder)
Downloading .0.0-py2.py3-none-any.whl
Collecting pyflakes (from spyder)
Downloading .1.1-py2.py3-none-any.whl (59kB)
100% |████████████████████████████████| 61kB 2.9MB/s
Collecting qtawesome>=0.4.1 (from spyder)
Downloading .5.7-py2.py3-none-any.whl (628kB)
100% |████████████████████████████████| 634kB ...
Collecting qtpy>=1.5.0 (from spyder)
Downloading .6.0-py2.py3-none-any.whl (43kB)
100% |████████████████████████████████| 51kB 3.3MB/s
Collecting jupyter-client>=4.1 (from qtconsole>=4.2.0->spyder)
Downloading .2.4-py2.py3-none-any.whl (89kB)
100% |████████████████████████████████| 92kB 5.9MB/s
Collecting jupyter-core (from qtconsole>=4.2.0->spyder)
Downloading .4.0-py2.py3-none-any.whl (126kB)
100% |████████████████████████████████| 133kB ...
Collecting traitlets (from qtconsole>=4.2.0->spyder)
Downloading .3.2-py2.py3-none-any.whl (74kB)
100% |████████████████████████████████| 81kB ...
Collecting ipython-genutils (from qtconsole>=4.2.0->spyder)
Downloading .2.0-py2.py3-none-any.whl
Collecting ipykernel>=4.1 (from qtconsole>=4.2.0->spyder)
Downloading .1.0-py3-none-any.whl (113kB)
100% |████████████████████████████████| 122kB ...
Collecting parso>=0.3.0 (from jedi>=0.9.0->spyder)
Downloading .3.4-py2.py3-none-any.whl (93kB)
100% |████████████████████████████████| 102kB ...
Collecting mccabe<0.7,>=0.6 (from pylint->spyder)
Downloading .6.1-py2.py3-none-any.whl
Collecting astroid<3,>=2.2.0 (from pylint->spyder)
Downloading .2.5-py3-none-any.whl (193kB)
100% |████████████████████████████████| 194kB 6.6MB/s
Collecting isort<5,>=4.2.5 (from pylint->spyder)
Downloading .3.15-py2.py3-none-any.whl (42kB)
100% |████████████████████████████████| 51kB ...
Collecting colorama; sys_platform == "win32" (from pylint->spyder)
Downloading .4.1-py2.py3-none-any.whl
Collecting Jinja2>=2.3 (from numpydoc->spyder)
Downloading .10-py2.py3-none-any.whl (126kB)
100% |████████████████████████████████| 133kB ...
Collecting PyQt5_sip<4.20,>=4.19.14 (from pyqt5<=5.12; python_version >= "3"->spyder)
Downloading .19.14-cp37-none-win_amd64.whl (51kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting packaging (from sphinx->spyder)
Downloading .0-py2.py3-none-any.whl
Collecting six>=1.5 (from sphinx->spyder)
Downloading .12.0-py2.py3-none-any.whl
Collecting sphinxcontrib-websupport (from sphinx->spyder)
Downloading .1.0-py2.py3-none-any.whl
Collecting alabaster<0.8,>=0.7 (from sphinx->spyder)
Downloading .7.12-py2.py3-none-any.whl
Requirement already satisfied: setuptools in c:\program files\python\python37\lib\site-packages (from sphinx->spyder) (39.0.1)
Collecting imagesize (from sphinx->spyder)
Downloading .1.0-py2.py3-none-any.whl
Collecting babel!=2.0,>=1.3 (from sphinx->spyder)
Downloading .6.0-py2.py3-none-any.whl (8.1MB)
100% |████████████████████████████████| 8.1MB 6.5MB/s
Collecting snowballstemmer>=1.1 (from sphinx->spyder)
Downloading .2.1-py2.py3-none-any.whl (64kB)
100% |████████████████████████████████| 71kB ...
Collecting requests>=2.0.0 (from sphinx->spyder)
Downloading .21.0-py2.py3-none-any.whl (57kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting docutils>=0.11 (from sphinx->spyder)
Downloading .14-py3-none-any.whl (543kB)
100% |████████████████████████████████| 552kB 6.6MB/s
Collecting pandocfilters>=1.4.1 (from nbconvert->spyder)
Downloading .4.2.tar.gz
Collecting defusedxml (from nbconvert->spyder)
Downloading .5.0-py2.py3-none-any.whl
Collecting testpath (from nbconvert->spyder)
Downloading .4.2-py2.py3-none-any.whl (163kB)
100% |████████████████████████████████| 163kB 6.6MB/s
Collecting entrypoints>=0.2.2 (from nbconvert->spyder)
Downloading .3-py2.py3-none-any.whl
Collecting nbformat>=4.4 (from nbconvert->spyder)
Downloading .4.0-py2.py3-none-any.whl (155kB)
100% |████████████████████████████████| 163kB 6.6MB/s
Collecting bleach (from nbconvert->spyder)
Downloading .1.0-py2.py3-none-any.whl (157kB)
100% |████████████████████████████████| 163kB 6.5MB/s
Collecting mistune>=0.8.1 (from nbconvert->spyder)
Downloading .8.4-py2.py3-none-any.whl
Collecting pywin32-ctypes!=0.1.0,!=0.1.1; sys_platform == "win32" (from keyring; sys_platform != "linux2"->spyder)
Downloading .2.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.1 (from jupyter-client>=4.1->qtconsole>=4.2.0->spyder)
Downloading .8.0-py2.py3-none-any.whl (226kB)
100% |████████████████████████████████| 235kB ...
Collecting tornado>=4.1 (from jupyter-client>=4.1->qtconsole>=4.2.0->spyder)
Downloading .0.1-cp37-cp37m-win_amd64.whl (415kB)
100% |████████████████████████████████| 419kB ...
Collecting decorator (from traitlets->qtconsole>=4.2.0->spyder)
Downloading .3.2-py2.py3-none-any.whl
Collecting ipython>=5.0.0 (from ipykernel>=4.1->qtconsole>=4.2.0->spyder)
Downloading .3.0-py3-none-any.whl (768kB)
100% |████████████████████████████████| 778kB 6.5MB/s
Collecting wrapt (from astroid<3,>=2.2.0->pylint->spyder)
Downloading .11.1.tar.gz
Collecting lazy-object-proxy (from astroid<3,>=2.2.0->pylint->spyder)
Downloading .3.1.tar.gz
Collecting typed-ast>=1.3.0; implementation_name == "cpython" (from astroid<3,>=2.2.0->pylint->spyder)
Downloading .3.1-cp37-cp37m-win_amd64.whl (153kB)
100% |████████████████████████████████| 163kB 6.6MB/s
Collecting MarkupSafe>=0.23 (from Jinja2>=2.3->numpydoc->spyder)
Downloading .1.1-cp37-cp37m-win_amd64.whl
Collecting pyparsing>=2.0.2 (from packaging->sphinx->spyder)
Downloading .3.1-py2.py3-none-any.whl (61kB)
100% |████████████████████████████████| 71kB 4.6MB/s
Collecting pytz>=0a (from babel!=2.0,>=1.3->sphinx->spyder)
Downloading .9-py2.py3-none-any.whl (510kB)
100% |████████████████████████████████| 512kB 6.2MB/s
Collecting certifi>=2017.4.17 (from requests>=2.0.0->sphinx->spyder)
Downloading .3.9-py2.py3-none-any.whl (158kB)
100% |████████████████████████████████| 163kB ...
Collecting urllib3<1.25,>=1.21.1 (from requests>=2.0.0->sphinx->spyder)
Downloading .24.1-py2.py3-none-any.whl (118kB)
100% |████████████████████████████████| 122kB 6.5MB/s
Collecting idna<2.9,>=2.5 (from requests>=2.0.0->sphinx->spyder)
Downloading .8-py2.py3-none-any.whl (58kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting jsonschema!=2.5.0,>=2.4 (from nbformat>=4.4->nbconvert->spyder)
Downloading .0.1-py2.py3-none-any.whl (54kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting webencodings (from bleach->nbconvert->spyder)
Downloading .5.1-py2.py3-none-any.whl
Collecting prompt-toolkit<2.1.0,>=2.0.0 (from ipython>=5.0.0->ipykernel>=4.1->qtconsole>=4.2.0->spyder)
Downloading .0.9-py3-none-any.whl (337kB)
100% |████████████████████████████████| 337kB 6.4MB/s
Collecting backcall (from ipython>=5.0.0->ipykernel>=4.1->qtconsole>=4.2.0->spyder)
Downloading .1.0.tar.gz
Collecting pyrsistent>=0.14.0 (from jsonschema!=2.5.0,>=2.4->nbformat>=4.4->nbconvert->spyder)
Downloading .14.11.tar.gz (104kB)
100% |████████████████████████████████| 112kB 6.6MB/s
Collecting attrs>=17.4.0 (from jsonschema!=2.5.0,>=2.4->nbformat>=4.4->nbconvert->spyder)
Downloading .1.0-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.1.0,>=2.0.0->ipython>=5.0.0->ipykernel>=4.1->qtconsole>=4.2.0->spyder)
Downloading .1.7-py2.py3-none-any.whl
Installing collected packages: six, ipython-genutils, decorator, traitlets, jupyter-core, python-dateutil, pyzmq, tornado, jupyter-client, pygments, parso, jedi, pickleshare, wcwidth, prompt-toolkit, backcall, colorama, ipython, ipykernel, qtconsole, pycodestyle, mccabe, wrapt, lazy-object-proxy, typed-ast, astroid, isort, pylint, pyparsing, packaging, sphinxcontrib-websupport, alabaster, MarkupSafe, Jinja2, imagesize, pytz, babel, snowballstemmer, chardet, certifi, urllib3, idna, requests, docutils, sphinx, numpydoc, cloudpickle, PyQt5-sip, pyqt5, spyder-kernels, psutil, pandocfilters, defusedxml, testpath, entrypoints, pyrsistent, attrs, jsonschema, nbformat, webencodings, bleach, mistune, nbconvert, rope, pywin32-ctypes, keyring, pyflakes, qtpy, qtawesome, spyder
The scripts jupyter-migrate.exe, jupyter-troubleshoot.exe and jupyter.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The scripts jupyter-kernel.exe, jupyter-kernelspec.exe and jupyter-run.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script pygmentize.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for backcall ... done
The scripts iptest.exe, iptest3.exe, ipython.exe and ipython3.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script pycodestyle.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for wrapt ... done
Running setup.py install for lazy-object-proxy ... done
The script isort.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The scripts epylint.exe, pylint.exe, pyreverse.exe and symilar.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script pybabel.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script chardetect.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The scripts sphinx-apidoc.exe, sphinx-autogen.exe, sphinx-build.exe and sphinx-quickstart.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for numpydoc ... done
The scripts pylupdate5.exe, pyrcc5.exe and pyuic5.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for pandocfilters ... done
Running setup.py install for pyrsistent ... done
The script jsonschema.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script jupyter-trust.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script jupyter-nbconvert.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for rope ... done
The script keyring.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script pyflakes.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed Jinja2-2.10 MarkupSafe-1.1.1 PyQt5-sip-4.19.14 alabaster-0.7.12 astroid-2.2.5 attrs-19.1.0 babel-2.6.0 backcall-0.1.0 bleach-3.1.0 certifi-2019.3.9 chardet-3.0.4 cloudpickle-0.8.0 colorama-0.4.1 decorator-4.3.2 defusedxml-0.5.0 docutils-0.14 entrypoints-0.3 idna-2.8 imagesize-1.1.0 ipykernel-5.1.0 ipython-7.3.0 ipython-genutils-0.2.0 isort-4.3.15 jedi-0.13.3 jsonschema-3.0.1 jupyter-client-5.2.4 jupyter-core-4.4.0 keyring-18.0.0 lazy-object-proxy-1.3.1 mccabe-0.6.1 mistune-0.8.4 nbconvert-5.4.1 nbformat-4.4.0 numpydoc-0.8.0 packaging-19.0 pandocfilters-1.4.2 parso-0.3.4 pickleshare-0.7.5 prompt-toolkit-2.0.9 psutil-5.6.1 pycodestyle-2.5.0 pyflakes-2.1.1 pygments-2.3.1 pylint-2.3.1 pyparsing-2.3.1 pyqt5-5.12 pyrsistent-0.14.11 python-dateutil-2.8.0 pytz-2018.9 pywin32-ctypes-0.2.0 pyzmq-18.0.1 qtawesome-0.5.7 qtconsole-4.4.3 qtpy-1.6.0 requests-2.21.0 rope-0.12.0 six-1.12.0 snowballstemmer-1.2.1 sphinx-1.8.5 sphinxcontrib-websupport-1.1.0 spyder-3.3.3 spyder-kernels-0.4.2 testpath-0.4.2 tornado-6.0.1 traitlets-4.3.2 typed-ast-1.3.1 urllib3-1.24.1 wcwidth-0.1.7 webencodings-0.5.1 wrapt-1.11.1
You are using pip version 10.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
双击位于C:\Program Files\Python\Python37\Scripts\spyder3.exe的“spyder.exe”文件时出现同样的问题。另外,我尝试了以下(在PowerShell中):
python
from spyder.app import start
start.main()
但后来我收到了这个错误:
Traceback (most recent call last):
File "C:\Program Files\Python\Python37\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 22, in
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files\Python\Python37\lib\site-packages\spyder\app\start.py", line 178, in main
from spyder.app import mainwindow
File "C:\Program Files\Python\Python37\lib\site-packages\spyder\app\mainwindow.py", line 90, in
from qtpy import QtWebEngineWidgets # analysis:ignore
File "C:\Program Files\Python\Python37\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 26, in
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
所以我尝试了pip install PyQt5,但是它告诉我要求已经满足了,之后再次尝试spyder仍然无济于事。
我不知道如何解决这个问题。似乎我所做的一切都不会让spyder工作。你知道怎么解决这个问题吗?
win10 linux spyder,python
我似乎无法在Windows 10版本1607 build 14393上使用Pip with Python 3.7.0卸载Spyder。一旦完成安装,在PowerShell中键入“spyder3”会创建一个简短的旋转轮,然后什么都不做。
我在同一版本的Windows虚拟机中验证了这个问题,安装了Python 3.7.0全新的pip安装spyder,然后仍然遇到了同样的问题。
这是我在安装时得到的输出(可能是有用的东西,我不知道)
PS C:\Users\Jack\Downloads> pip install spyder
Collecting spyder
Downloading .3.3-py3-none-any.whl (2.8MB)
100% |████████████████████████████████| 2.8MB 6.6MB/s
Collecting qtconsole>=4.2.0 (from spyder)
Downloading .4.3-py2.py3-none-any.whl (113kB)
100% |████████████████████████████████| 122kB 5.7MB/s
Collecting pickleshare (from spyder)
Downloading .7.5-py2.py3-none-any.whl
Collecting pycodestyle (from spyder)
Downloading .5.0-py2.py3-none-any.whl (51kB)
100% |████████████████████████████████| 51kB ...
Collecting jedi>=0.9.0 (from spyder)
Downloading .13.3-py2.py3-none-any.whl (178kB)
100% |████████████████████████████████| 184kB 11.0MB/s
Collecting pylint (from spyder)
Downloading .3.1-py3-none-any.whl (765kB)
100% |████████████████████████████████| 768kB 6.4MB/s
Collecting numpydoc (from spyder)
Downloading .8.0.tar.gz
Collecting cloudpickle (from spyder)
Downloading .8.0-py2.py3-none-any.whl
Collecting pyqt5<=5.12; python_version >= "3" (from spyder)
Downloading .12-5.12.1_a-cp35.cp36.cp37.cp38-none-win_amd64.whl (49.4MB)
100% |████████████████████████████████| 49.4MB 204kB/s
Collecting pygments>=2.0 (from spyder)
Downloading .3.1-py2.py3-none-any.whl (849kB)
100% |████████████████████████████████| 849kB 6.5MB/s
Collecting spyder-kernels<1.0,>=0.4.2 (from spyder)
Downloading .4.2-py2.py3-none-any.whl (53kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting psutil (from spyder)
Downloading .6.1-cp37-cp37m-win_amd64.whl (230kB)
100% |████████████████████████████████| 235kB 6.6MB/s
Collecting chardet>=2.0.0 (from spyder)
Downloading .0.4-py2.py3-none-any.whl (133kB)
100% |████████████████████████████████| 143kB ...
Collecting pyzmq (from spyder)
Downloading .0.1-cp37-cp37m-win_amd64.whl (1.0MB)
100% |████████████████████████████████| 1.1MB 6.5MB/s
Collecting sphinx (from spyder)
Downloading .8.5-py2.py3-none-any.whl (3.1MB)
100% |████████████████████████████████| 3.1MB 6.4MB/s
Collecting nbconvert (from spyder)
Downloading .4.1-py2.py3-none-any.whl (407kB)
100% |████████████████████████████████| 409kB 6.6MB/s
Collecting rope>=0.10.5 (from spyder)
Downloading .12.0.tar.gz (246kB)
100% |████████████████████████████████| 256kB 6.6MB/s
Collecting keyring; sys_platform != "linux2" (from spyder)
Downloading .0.0-py2.py3-none-any.whl
Collecting pyflakes (from spyder)
Downloading .1.1-py2.py3-none-any.whl (59kB)
100% |████████████████████████████████| 61kB 2.9MB/s
Collecting qtawesome>=0.4.1 (from spyder)
Downloading .5.7-py2.py3-none-any.whl (628kB)
100% |████████████████████████████████| 634kB ...
Collecting qtpy>=1.5.0 (from spyder)
Downloading .6.0-py2.py3-none-any.whl (43kB)
100% |████████████████████████████████| 51kB 3.3MB/s
Collecting jupyter-client>=4.1 (from qtconsole>=4.2.0->spyder)
Downloading .2.4-py2.py3-none-any.whl (89kB)
100% |████████████████████████████████| 92kB 5.9MB/s
Collecting jupyter-core (from qtconsole>=4.2.0->spyder)
Downloading .4.0-py2.py3-none-any.whl (126kB)
100% |████████████████████████████████| 133kB ...
Collecting traitlets (from qtconsole>=4.2.0->spyder)
Downloading .3.2-py2.py3-none-any.whl (74kB)
100% |████████████████████████████████| 81kB ...
Collecting ipython-genutils (from qtconsole>=4.2.0->spyder)
Downloading .2.0-py2.py3-none-any.whl
Collecting ipykernel>=4.1 (from qtconsole>=4.2.0->spyder)
Downloading .1.0-py3-none-any.whl (113kB)
100% |████████████████████████████████| 122kB ...
Collecting parso>=0.3.0 (from jedi>=0.9.0->spyder)
Downloading .3.4-py2.py3-none-any.whl (93kB)
100% |████████████████████████████████| 102kB ...
Collecting mccabe<0.7,>=0.6 (from pylint->spyder)
Downloading .6.1-py2.py3-none-any.whl
Collecting astroid<3,>=2.2.0 (from pylint->spyder)
Downloading .2.5-py3-none-any.whl (193kB)
100% |████████████████████████████████| 194kB 6.6MB/s
Collecting isort<5,>=4.2.5 (from pylint->spyder)
Downloading .3.15-py2.py3-none-any.whl (42kB)
100% |████████████████████████████████| 51kB ...
Collecting colorama; sys_platform == "win32" (from pylint->spyder)
Downloading .4.1-py2.py3-none-any.whl
Collecting Jinja2>=2.3 (from numpydoc->spyder)
Downloading .10-py2.py3-none-any.whl (126kB)
100% |████████████████████████████████| 133kB ...
Collecting PyQt5_sip<4.20,>=4.19.14 (from pyqt5<=5.12; python_version >= "3"->spyder)
Downloading .19.14-cp37-none-win_amd64.whl (51kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting packaging (from sphinx->spyder)
Downloading .0-py2.py3-none-any.whl
Collecting six>=1.5 (from sphinx->spyder)
Downloading .12.0-py2.py3-none-any.whl
Collecting sphinxcontrib-websupport (from sphinx->spyder)
Downloading .1.0-py2.py3-none-any.whl
Collecting alabaster<0.8,>=0.7 (from sphinx->spyder)
Downloading .7.12-py2.py3-none-any.whl
Requirement already satisfied: setuptools in c:\program files\python\python37\lib\site-packages (from sphinx->spyder) (39.0.1)
Collecting imagesize (from sphinx->spyder)
Downloading .1.0-py2.py3-none-any.whl
Collecting babel!=2.0,>=1.3 (from sphinx->spyder)
Downloading .6.0-py2.py3-none-any.whl (8.1MB)
100% |████████████████████████████████| 8.1MB 6.5MB/s
Collecting snowballstemmer>=1.1 (from sphinx->spyder)
Downloading .2.1-py2.py3-none-any.whl (64kB)
100% |████████████████████████████████| 71kB ...
Collecting requests>=2.0.0 (from sphinx->spyder)
Downloading .21.0-py2.py3-none-any.whl (57kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting docutils>=0.11 (from sphinx->spyder)
Downloading .14-py3-none-any.whl (543kB)
100% |████████████████████████████████| 552kB 6.6MB/s
Collecting pandocfilters>=1.4.1 (from nbconvert->spyder)
Downloading .4.2.tar.gz
Collecting defusedxml (from nbconvert->spyder)
Downloading .5.0-py2.py3-none-any.whl
Collecting testpath (from nbconvert->spyder)
Downloading .4.2-py2.py3-none-any.whl (163kB)
100% |████████████████████████████████| 163kB 6.6MB/s
Collecting entrypoints>=0.2.2 (from nbconvert->spyder)
Downloading .3-py2.py3-none-any.whl
Collecting nbformat>=4.4 (from nbconvert->spyder)
Downloading .4.0-py2.py3-none-any.whl (155kB)
100% |████████████████████████████████| 163kB 6.6MB/s
Collecting bleach (from nbconvert->spyder)
Downloading .1.0-py2.py3-none-any.whl (157kB)
100% |████████████████████████████████| 163kB 6.5MB/s
Collecting mistune>=0.8.1 (from nbconvert->spyder)
Downloading .8.4-py2.py3-none-any.whl
Collecting pywin32-ctypes!=0.1.0,!=0.1.1; sys_platform == "win32" (from keyring; sys_platform != "linux2"->spyder)
Downloading .2.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.1 (from jupyter-client>=4.1->qtconsole>=4.2.0->spyder)
Downloading .8.0-py2.py3-none-any.whl (226kB)
100% |████████████████████████████████| 235kB ...
Collecting tornado>=4.1 (from jupyter-client>=4.1->qtconsole>=4.2.0->spyder)
Downloading .0.1-cp37-cp37m-win_amd64.whl (415kB)
100% |████████████████████████████████| 419kB ...
Collecting decorator (from traitlets->qtconsole>=4.2.0->spyder)
Downloading .3.2-py2.py3-none-any.whl
Collecting ipython>=5.0.0 (from ipykernel>=4.1->qtconsole>=4.2.0->spyder)
Downloading .3.0-py3-none-any.whl (768kB)
100% |████████████████████████████████| 778kB 6.5MB/s
Collecting wrapt (from astroid<3,>=2.2.0->pylint->spyder)
Downloading .11.1.tar.gz
Collecting lazy-object-proxy (from astroid<3,>=2.2.0->pylint->spyder)
Downloading .3.1.tar.gz
Collecting typed-ast>=1.3.0; implementation_name == "cpython" (from astroid<3,>=2.2.0->pylint->spyder)
Downloading .3.1-cp37-cp37m-win_amd64.whl (153kB)
100% |████████████████████████████████| 163kB 6.6MB/s
Collecting MarkupSafe>=0.23 (from Jinja2>=2.3->numpydoc->spyder)
Downloading .1.1-cp37-cp37m-win_amd64.whl
Collecting pyparsing>=2.0.2 (from packaging->sphinx->spyder)
Downloading .3.1-py2.py3-none-any.whl (61kB)
100% |████████████████████████████████| 71kB 4.6MB/s
Collecting pytz>=0a (from babel!=2.0,>=1.3->sphinx->spyder)
Downloading .9-py2.py3-none-any.whl (510kB)
100% |████████████████████████████████| 512kB 6.2MB/s
Collecting certifi>=2017.4.17 (from requests>=2.0.0->sphinx->spyder)
Downloading .3.9-py2.py3-none-any.whl (158kB)
100% |████████████████████████████████| 163kB ...
Collecting urllib3<1.25,>=1.21.1 (from requests>=2.0.0->sphinx->spyder)
Downloading .24.1-py2.py3-none-any.whl (118kB)
100% |████████████████████████████████| 122kB 6.5MB/s
Collecting idna<2.9,>=2.5 (from requests>=2.0.0->sphinx->spyder)
Downloading .8-py2.py3-none-any.whl (58kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting jsonschema!=2.5.0,>=2.4 (from nbformat>=4.4->nbconvert->spyder)
Downloading .0.1-py2.py3-none-any.whl (54kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting webencodings (from bleach->nbconvert->spyder)
Downloading .5.1-py2.py3-none-any.whl
Collecting prompt-toolkit<2.1.0,>=2.0.0 (from ipython>=5.0.0->ipykernel>=4.1->qtconsole>=4.2.0->spyder)
Downloading .0.9-py3-none-any.whl (337kB)
100% |████████████████████████████████| 337kB 6.4MB/s
Collecting backcall (from ipython>=5.0.0->ipykernel>=4.1->qtconsole>=4.2.0->spyder)
Downloading .1.0.tar.gz
Collecting pyrsistent>=0.14.0 (from jsonschema!=2.5.0,>=2.4->nbformat>=4.4->nbconvert->spyder)
Downloading .14.11.tar.gz (104kB)
100% |████████████████████████████████| 112kB 6.6MB/s
Collecting attrs>=17.4.0 (from jsonschema!=2.5.0,>=2.4->nbformat>=4.4->nbconvert->spyder)
Downloading .1.0-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.1.0,>=2.0.0->ipython>=5.0.0->ipykernel>=4.1->qtconsole>=4.2.0->spyder)
Downloading .1.7-py2.py3-none-any.whl
Installing collected packages: six, ipython-genutils, decorator, traitlets, jupyter-core, python-dateutil, pyzmq, tornado, jupyter-client, pygments, parso, jedi, pickleshare, wcwidth, prompt-toolkit, backcall, colorama, ipython, ipykernel, qtconsole, pycodestyle, mccabe, wrapt, lazy-object-proxy, typed-ast, astroid, isort, pylint, pyparsing, packaging, sphinxcontrib-websupport, alabaster, MarkupSafe, Jinja2, imagesize, pytz, babel, snowballstemmer, chardet, certifi, urllib3, idna, requests, docutils, sphinx, numpydoc, cloudpickle, PyQt5-sip, pyqt5, spyder-kernels, psutil, pandocfilters, defusedxml, testpath, entrypoints, pyrsistent, attrs, jsonschema, nbformat, webencodings, bleach, mistune, nbconvert, rope, pywin32-ctypes, keyring, pyflakes, qtpy, qtawesome, spyder
The scripts jupyter-migrate.exe, jupyter-troubleshoot.exe and jupyter.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The scripts jupyter-kernel.exe, jupyter-kernelspec.exe and jupyter-run.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script pygmentize.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for backcall ... done
The scripts iptest.exe, iptest3.exe, ipython.exe and ipython3.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script pycodestyle.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for wrapt ... done
Running setup.py install for lazy-object-proxy ... done
The script isort.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The scripts epylint.exe, pylint.exe, pyreverse.exe and symilar.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script pybabel.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script chardetect.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The scripts sphinx-apidoc.exe, sphinx-autogen.exe, sphinx-build.exe and sphinx-quickstart.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for numpydoc ... done
The scripts pylupdate5.exe, pyrcc5.exe and pyuic5.exe are installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for pandocfilters ... done
Running setup.py install for pyrsistent ... done
The script jsonschema.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script jupyter-trust.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script jupyter-nbconvert.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for rope ... done
The script keyring.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script pyflakes.exe is installed in 'c:\program files\python\python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed Jinja2-2.10 MarkupSafe-1.1.1 PyQt5-sip-4.19.14 alabaster-0.7.12 astroid-2.2.5 attrs-19.1.0 babel-2.6.0 backcall-0.1.0 bleach-3.1.0 certifi-2019.3.9 chardet-3.0.4 cloudpickle-0.8.0 colorama-0.4.1 decorator-4.3.2 defusedxml-0.5.0 docutils-0.14 entrypoints-0.3 idna-2.8 imagesize-1.1.0 ipykernel-5.1.0 ipython-7.3.0 ipython-genutils-0.2.0 isort-4.3.15 jedi-0.13.3 jsonschema-3.0.1 jupyter-client-5.2.4 jupyter-core-4.4.0 keyring-18.0.0 lazy-object-proxy-1.3.1 mccabe-0.6.1 mistune-0.8.4 nbconvert-5.4.1 nbformat-4.4.0 numpydoc-0.8.0 packaging-19.0 pandocfilters-1.4.2 parso-0.3.4 pickleshare-0.7.5 prompt-toolkit-2.0.9 psutil-5.6.1 pycodestyle-2.5.0 pyflakes-2.1.1 pygments-2.3.1 pylint-2.3.1 pyparsing-2.3.1 pyqt5-5.12 pyrsistent-0.14.11 python-dateutil-2.8.0 pytz-2018.9 pywin32-ctypes-0.2.0 pyzmq-18.0.1 qtawesome-0.5.7 qtconsole-4.4.3 qtpy-1.6.0 requests-2.21.0 rope-0.12.0 six-1.12.0 snowballstemmer-1.2.1 sphinx-1.8.5 sphinxcontrib-websupport-1.1.0 spyder-3.3.3 spyder-kernels-0.4.2 testpath-0.4.2 tornado-6.0.1 traitlets-4.3.2 typed-ast-1.3.1 urllib3-1.24.1 wcwidth-0.1.7 webencodings-0.5.1 wrapt-1.11.1
You are using pip version 10.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
双击位于C:\Program Files\Python\Python37\Scripts\spyder3.exe的“spyder.exe”文件时出现同样的问题。另外,我尝试了以下(在PowerShell中):
python
from spyder.app import start
start.main()
但后来我收到了这个错误:
Traceback (most recent call last):
File "C:\Program Files\Python\Python37\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 22, in
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files\Python\Python37\lib\site-packages\spyder\app\start.py", line 178, in main
from spyder.app import mainwindow
File "C:\Program Files\Python\Python37\lib\site-packages\spyder\app\mainwindow.py", line 90, in
from qtpy import QtWebEngineWidgets # analysis:ignore
File "C:\Program Files\Python\Python37\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 26, in
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
所以我尝试了pip install PyQt5,但是它告诉我要求已经满足了,之后再次尝试spyder仍然无济于事。
我不知道如何解决这个问题。似乎我所做的一切都不会让spyder工作。你知道怎么解决这个问题吗?