Exception: error while installing jupyter on Ubuntu - python

While installing Jupyter I was almost done until at last something called exception appeared. I am very new to Ubuntu and Python so can't understand these things.
pip install jupyter
Collecting jupyter
Downloading jupyter-1.0.0-py2.py3-none-any.whl
Collecting nbconvert (from jupyter)
Downloading nbconvert-5.3.1-py2.py3-none-any.whl (387kB)
100% |████████████████████████████████| 389kB 1.3MB/s
Collecting ipywidgets (from jupyter)
Downloading ipywidgets-7.1.2-py2.py3-none-any.whl (68kB)
100% |████████████████████████████████| 71kB 3.5MB/s
Collecting notebook (from jupyter)
`enter code here` Downloading notebook-5.4.1-py2.py3-none-any.whl (8.0MB)
100% |████████████████████████████████| 8.0MB 106kB/s
Collecting qtconsole (from jupyter)
Downloading qtconsole-4.3.1-py2.py3-none-any.whl (108kB)
100% |████████████████████████████████| 112kB 4.9MB/s
Collecting jupyter-console (from jupyter)
Downloading jupyter_console-5.2.0-py2.py3-none-any.whl
Collecting ipykernel (from jupyter)
Downloading ipykernel-4.8.2-py2-none-any.whl (108kB)
100% |████████████████████████████████| 112kB 5.2MB/s
Collecting pandocfilters>=1.4.1 (from nbconvert->jupyter)
Downloading pandocfilters-1.4.2.tar.gz
Collecting entrypoints>=0.2.2 (from nbconvert->jupyter)
Downloading entrypoints-0.2.3-py2.py3-none-any.whl
Collecting jinja2 (from nbconvert->jupyter)
Downloading Jinja2-2.10-py2.py3-none-any.whl (126kB)
100% |████████████████████████████████| 133kB 3.2MB/s
Collecting testpath (from nbconvert->jupyter)
Downloading testpath-0.3.1-py2.py3-none-any.whl (161kB)
100% |████████████████████████████████| 163kB 2.9MB/s
Collecting mistune>=0.7.4 (from nbconvert->jupyter)
Downloading mistune-0.8.3-py2.py3-none-any.whl
Collecting nbformat>=4.4 (from nbconvert->jupyter)
Downloading nbformat-4.4.0-py2.py3-none-any.whl (155kB)
100% |████████████████████████████████| 163kB 3.5MB/s
Collecting pygments (from nbconvert->jupyter)
Downloading Pygments-2.2.0-py2.py3-none-any.whl (841kB)
100% |████████████████████████████████| 849kB 975kB/s
Collecting bleach (from nbconvert->jupyter)
Downloading bleach-2.1.3-py2.py3-none-any.whl
Collecting traitlets>=4.2 (from nbconvert->jupyter)
Downloading traitlets-4.3.2-py2.py3-none-any.whl (74kB)
100% |████████████████████████████████| 81kB 4.6MB/s
Collecting jupyter-core (from nbconvert->jupyter)
Downloading jupyter_core-4.4.0-py2.py3-none-any.whl (126kB)
100% |████████████████████████████████| 133kB 4.5MB/s
Collecting widgetsnbextension~=3.1.0 (from ipywidgets->jupyter)
Downloading widgetsnbextension-3.1.4-py2.py3-none-any.whl (2.2MB)
100% |████████████████████████████████| 2.2MB 392kB/s
Collecting ipython<6.0.0,>=4.0.0; python_version < "3.3" (from ipywidgets->jupyter)
Downloading ipython-5.5.0-py2-none-any.whl (758kB)
100% |████████████████████████████████| 768kB 1.1MB/s
Collecting Send2Trash (from notebook->jupyter)
Downloading Send2Trash-1.5.0.tar.gz
Collecting ipython-genutils (from notebook->jupyter)
Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting jupyter-client>=5.2.0 (from notebook->jupyter)
Downloading jupyter_client-5.2.3-py2.py3-none-any.whl (89kB)
100% |████████████████████████████████| 92kB 4.5MB/s
Collecting tornado>=4 (from notebook->jupyter)
Downloading tornado-5.0.1.tar.gz (504kB)
100% |████████████████████████████████| 512kB 1.5MB/s
Collecting terminado>=0.8.1 (from notebook->jupyter)
Downloading terminado-0.8.1-py2.py3-none-any.whl
Collecting prompt-toolkit<2.0.0,>=1.0.0 (from jupyter-console->jupyter)
Downloading prompt_toolkit-1.0.15-py2-none-any.whl (247kB)
100% |████████████████████████████████| 256kB 2.6MB/s
Collecting configparser>=3.5; python_version == "2.7" (from entrypoints>=0.2.2->nbconvert->jupyter)
Downloading configparser-3.5.0.tar.gz
Collecting MarkupSafe>=0.23 (from jinja2->nbconvert->jupyter)
Downloading MarkupSafe-1.0.tar.gz
Collecting jsonschema!=2.5.0,>=2.4 (from nbformat>=4.4->nbconvert->jupyter)
Downloading jsonschema-2.6.0-py2.py3-none-any.whl
Collecting html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre (from bleach->nbconvert->jupyter)
Downloading html5lib-1.0.1-py2.py3-none-any.whl (117kB)
100% |████████████████████████████████| 122kB 4.3MB/s
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from bleach->nbconvert->jupyter)
Collecting decorator (from traitlets>=4.2->nbconvert->jupyter)
Downloading decorator-4.2.1-py2.py3-none-any.whl
Collecting enum34; python_version == "2.7" (from traitlets>=4.2->nbconvert->jupyter)
Downloading enum34-1.1.6-py2-none-any.whl
Collecting pexpect; sys_platform != "win32" (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading pexpect-4.4.0-py2.py3-none-any.whl (56kB)
100% |████████████████████████████████| 61kB 5.1MB/s
Collecting backports.shutil-get-terminal-size; python_version == "2.7" (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=18.5 in /usr/lib/python2.7/dist-packages (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Collecting pathlib2; python_version == "2.7" or python_version == "3.3" (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading pathlib2-2.3.0-py2.py3-none-any.whl
Collecting simplegeneric>0.8 (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading simplegeneric-0.8.1.zip
Collecting pickleshare (from ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading pickleshare-0.7.4-py2.py3-none-any.whl
Collecting pyzmq>=13 (from jupyter-client>=5.2.0->notebook->jupyter)
Downloading pyzmq-17.0.0-cp27-cp27mu-manylinux1_x86_64.whl (3.0MB)
100% |████████████████████████████████| 3.0MB 281kB/s
Collecting python-dateutil>=2.1 (from jupyter-client>=5.2.0->notebook->jupyter)
Downloading python_dateutil-2.7.2-py2.py3-none-any.whl (212kB)
100% |████████████████████████████████| 215kB 2.9MB/s
Collecting futures (from tornado>=4->notebook->jupyter)
Downloading futures-3.2.0-py2-none-any.whl
Collecting singledispatch (from tornado>=4->notebook->jupyter)
Downloading singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting backports_abc>=0.4 (from tornado>=4->notebook->jupyter)
Downloading backports_abc-0.5-py2.py3-none-any.whl
Collecting ptyprocess; os_name != "nt" (from terminado>=0.8.1->notebook->jupyter)
Downloading ptyprocess-0.5.2-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.0->jupyter-console->jupyter)
Downloading wcwidth-0.1.7-py2.py3-none-any.whl
Collecting functools32; python_version == "2.7" (from jsonschema!=2.5.0,>=2.4->nbformat>=4.4->nbconvert->jupyter)
Downloading functools32-3.2.3-2.tar.gz
Collecting webencodings (from html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre->bleach->nbconvert->jupyter)
Downloading webencodings-0.5.1-py2.py3-none-any.whl
Collecting scandir; python_version < "3.5" (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython<6.0.0,>=4.0.0; python_version < "3.3"->ipywidgets->jupyter)
Downloading scandir-1.7.tar.gz
Building wheels for collected packages: pandocfilters, Send2Trash, tornado, configparser, MarkupSafe, simplegeneric, functools32, scandir
Running setup.py bdist_wheel for pandocfilters ... done
Stored in directory: /home/mukul/.cache/pip/wheels/08/5b/5b/66b3cde6f8215f8345479ef3699d6ddbb860f6ea7072008f8b
Running setup.py bdist_wheel for Send2Trash ... done
Stored in directory: /home/mukul/.cache/pip/wheels/7e/53/4f/bba4eeb954fb986a22a98b8ead0fce8f4f1f4e8028ed715530
Running setup.py bdist_wheel for tornado ... done
Stored in directory: /home/mukul/.cache/pip/wheels/fd/0d/50/bb8bebaf371beed13f2502466cdadc9ef2afb3302e66a56a36
Running setup.py bdist_wheel for configparser ... done
Stored in directory: /home/mukul/.cache/pip/wheels/1c/bd/b4/277af3f6c40645661b4cd1c21df26aca0f2e1e9714a1d4cda8
Running setup.py bdist_wheel for MarkupSafe ... done
Stored in directory: /home/mukul/.cache/pip/wheels/88/a7/30/e39a54a87bcbe25308fa3ca64e8ddc75d9b3e5afa21ee32d57
Running setup.py bdist_wheel for simplegeneric ... done
Stored in directory: /home/mukul/.cache/pip/wheels/7b/31/08/c85e74c84188cbec6a6827beec4d640f2bd78ae003dc1ec09d
Running setup.py bdist_wheel for functools32 ... done
Stored in directory: /home/mukul/.cache/pip/wheels/b5/83/8b/2de165caa2da68be141fbf343fd291fbcae73094c213ba3f5c
Running setup.py bdist_wheel for scandir ... done
Stored in directory: /home/mukul/.cache/pip/wheels/3d/51/95/79b749f7e52b5dea9e01b5c72da1c728151fc65a3984c37bec
Successfully built pandocfilters Send2Trash tornado configparser MarkupSafe simplegeneric functools32 scandir
Installing collected packages: pandocfilters, configparser, entrypoints, MarkupSafe, jinja2, testpath, mistune, ipython-genutils, decorator, enum34, traitlets, jupyter-core, functools32, jsonschema, nbformat, pygments, webencodings, html5lib, bleach, nbconvert, Send2Trash, futures, singledispatch, backports-abc, tornado, pyzmq, python-dateutil, jupyter-client, ptyprocess, terminado, wcwidth, prompt-toolkit, pexpect, backports.shutil-get-terminal-size, scandir, pathlib2, simplegeneric, pickleshare, ipython, ipykernel, notebook, widgetsnbextension, ipywidgets, qtconsole, jupyter-console, jupyter
Exception:
Traceback (most recent call last):
File "/home/mukul/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/mukul/.local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/home/mukul/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/home/mukul/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/mukul/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/home/mukul/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/mukul/.local/lib/python2.7/site-packages/pip/wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pandocfilters.py'
While installing jupyter everything worked fine but finally I got some exceptions. I can't understand what are these.

You are receiving the error IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pandocfilters.py' because you are running pip install under a normal user.
You can either run this same command with sudo pip install jupyter. This will give you root privileges when installing, or you can check out running this in a virtualenv. You can read up more on virtualenv at https://docs.python.org/3/tutorial/venv.html.

Related

raspbian: ModuleNotFoundError: No module named 'google_auth_oauthlib'

I am trying to install a Python script which does a:
from google_auth_oauthlib.flow import InstalledAppFlow
however the returned error on execution is:
pi#raspberrypi:~ $ /usr/bin/python3 /usr/lib/python3/dist-packages/google/google_calendar_service.py
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/google/google_calendar_service.py", line 3, in <module>
from google_auth_oauthlib.flow import InstalledAppFlow
ModuleNotFoundError: No module named 'google_auth_oauthlib'
I tried inserting "google-auth-oauthlib" as requirement in the distutils setup.py, with or without version, tried also the name of the package "python3-google-auth-oauthlib" but nothing works:
install_requires=['google-api-python-client>=2.3.0',
'google-auth-oauthlib>=0.4.1',
'google-auth>=1.30.0',
'python3-google-auth-oauthlib'],
in the end I tried manually installing it:
sudo pip install google-auth-oauthlib
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting google-auth-oauthlib
Downloading https://files.pythonhosted.org/packages/7b/b8/88def36e74bee9fce511c9519571f4e485e890093ab7442284f4ffaef60b/google_auth_oauthlib-0.4.1-py2.py3-none-any.whl
Collecting google-auth (from google-auth-oauthlib)
Downloading https://files.pythonhosted.org/packages/d2/c1/44179a1cfc5c3b5832a5f9c925161612471ec5f346bcd186235651d74f35/google_auth-1.30.0-py2.py3-none-any.whl (146kB)
100% |████████████████████████████████| 153kB 46kB/s
Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/lib/python2.7/dist-packages (from google-auth-oauthlib) (1.0.0)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/dist-packages (from google-auth->google-auth-oauthlib) (1.12.0)
Requirement already satisfied: setuptools>=40.3.0 in /usr/lib/python2.7/dist-packages (from google-auth->google-auth-oauthlib) (40.8.0)
Collecting pyasn1-modules>=0.2.1 (from google-auth->google-auth-oauthlib)
Downloading https://files.pythonhosted.org/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.whl (155kB)
100% |████████████████████████████████| 163kB 43kB/s
Collecting rsa<4.6; python_version < "3.6" (from google-auth->google-auth-oauthlib)
Downloading https://files.pythonhosted.org/packages/26/f8/8127fdda0294f044121d20aac7785feb810e159098447967a6103dedfb96/rsa-4.5-py2.py3-none-any.whl
Collecting cachetools<5.0,>=2.0.0 (from google-auth->google-auth-oauthlib)
Downloading https://files.pythonhosted.org/packages/2f/a6/30b0a0bef12283e83e58c1d6e7b5aabc7acfc4110df81a4471655d33e704/cachetools-3.1.1-py2.py3-none-any.whl
Collecting pyasn1<0.5.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth->google-auth-oauthlib)
Downloading https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl (77kB)
100% |████████████████████████████████| 81kB 66kB/s
Installing collected packages: pyasn1, pyasn1-modules, rsa, cachetools, google-auth, google-auth-oauthlib
Successfully installed cachetools-3.1.1 google-auth-1.30.0 google-auth-oauthlib-0.4.1 pyasn1-0.4.8 pyasn1-modules-0.2.8 rsa-4.5
still the same error.

Not able to install locust on windows

I installed locust using the command on windows
py -m pip install locustio
This is the output I got
Collecting locustio
Using cached https://files.pythonhosted.org/packages/98/12/60351b28a00c76d36022d79bead7dc217e9e49cddd7091cb164319196323/locustio-0.11.0-py2.py3-none-any.whl
Collecting gevent>=1.2.2 (from locustio)
Downloading https://files.pythonhosted.org/packages/8a/dd/417aad4e69fa7f8882534b778c46cb28eb0421ffa1e924ec3b4efcfcc81f/gevent-1.4.0-cp37-cp37m-win_amd64.whl (3.0MB)
100% |████████████████████████████████| 3.0MB 356kB/s
Requirement already satisfied: requests>=2.9.1 in c:\python37\lib\site-packages (from locustio) (2.22.0)
Collecting six>=1.10.0 (from locustio)
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting msgpack>=0.4.2 (from locustio)
Downloading https://files.pythonhosted.org/packages/d1/67/476640810609471e0f3a32c9f4388bf1318b773d0a64b116305d3b604dca/msgpack-0.6.1-cp37-cp37m-win_amd64.whl (68kB)
100% |████████████████████████████████| 71kB 354kB/s
Collecting flask>=0.10.1 (from locustio)
Using cached https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl
Collecting pyzmq>=16.0.2 (from locustio)
Downloading https://files.pythonhosted.org/packages/62/15/27d1655af3f96c59073073b03022c6a0c1cbfa583c036b46ae8c33d51ee6/pyzmq-18.1.0-cp37-cp37m-win_amd64.whl (1.0MB)
100% |████████████████████████████████| 1.1MB 314kB/s
Collecting cffi>=1.11.5; sys_platform == "win32" and platform_python_implementation == "CPython" (from gevent>=1.2.2->locustio)
Downloading https://files.pythonhosted.org/packages/2f/ad/9722b7752fdd88c858be57b47f41d1049b5fb0ab79caf0ab11407945c1a7/cffi-1.12.3-cp37-cp37m-win_amd64.whl (171kB)
100% |████████████████████████████████| 174kB 108kB/s
Collecting greenlet>=0.4.14; platform_python_implementation == "CPython" (from gevent>=1.2.2->locustio)
Downloading https://files.pythonhosted.org/packages/90/a3/da8593df08ee2efeb86ccf3201508a1fd2a3749e2735b7cadb7dd00416c6/greenlet-0.4.15-cp37-cp37m-win_amd64.whl
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\python37\lib\site-packages (from requests>=2.9.1->locustio) (1.25.3)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\python37\lib\site-packages (from requests>=2.9.1->locustio) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\python37\lib\site-packages (from requests>=2.9.1->locustio) (2019.6.16)
Requirement already satisfied: idna<2.9,>=2.5 in c:\python37\lib\site-packages (from requests>=2.9.1->locustio) (2.8)
Collecting itsdangerous>=0.24 (from flask>=0.10.1->locustio)
Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting Jinja2>=2.10.1 (from flask>=0.10.1->locustio)
Using cached https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl
Collecting Werkzeug>=0.15 (from flask>=0.10.1->locustio)
Using cached https://files.pythonhosted.org/packages/d1/ab/d3bed6b92042622d24decc7aadc8877badf18aeca1571045840ad4956d3f/Werkzeug-0.15.5-py2.py3-none-any.whl
Collecting click>=5.1 (from flask>=0.10.1->locustio)
Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Collecting pycparser (from cffi>=1.11.5; sys_platform == "win32" and platform_python_implementation == "CPython"->gevent>=1.2.2->locustio)
Using cached https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz
Collecting MarkupSafe>=0.23 (from Jinja2>=2.10.1->flask>=0.10.1->locustio)
Downloading https://files.pythonhosted.org/packages/65/c6/2399700d236d1dd681af8aebff1725558cddfd6e43d7a5184a675f4711f5/MarkupSafe-1.1.1-cp37-cp37m-win_amd64.whl
Installing collected packages: pycparser, cffi, greenlet, gevent, six, msgpack, itsdangerous, MarkupSafe, Jinja2, Werkzeug, click, flask, pyzmq, locustio
Running setup.py install for pycparser ... done
The script flask.exe is installed in 'C:\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 locust.exe is installed in 'C:\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.1 MarkupSafe-1.1.1 Werkzeug-0
Now when I run the command locust --help
I get this on the command line
'locust' is not recognized as an internal or external command,
operable program or batch file
What could be the issue?Any help would be appreciated.
It seems that you have not added python 3.7 in the environment variable PATH. While this could have been achieved while installing python itself by checking the box to Add Python to the path. However, you can still add the location of Python37(where python37 is installed) by going to This PC--Right-Click->Properties-->Advanced System Settings-->Environment Variables tab-->System Variables--Edit Path & add value*.
I recently wrote steps for setting up locust on windows which might help -https://www.qamilestone.com/post/set-up-locust-on-windows
-Regards,
Anuradha

Why did a new version of a library get installed when the current one satisfied setup.py requirements?

I developed a package that uses matplotlib and so I've added the following line to my project's setup.py: (link to setup.py)
install_requires=[
'matplotlib>=2.0.0',
...other libs
]
However, when I tried to install my package into a virtualenv (via pip install) that already had matplolib version 2.1.0 installed, pip fetched and installed matplotlib version 3 regardless.
Is this expected behaviour or was there something else happening here?
Let's me try with a new empty virtualenv:
$ pip install matplotlib==2.1.0
Collecting matplotlib==2.1.0
Downloading https://files.pythonhosted.org/packages/6c/90/cf10bb2020d2811da811a49601f6eafcda022c6ccd296fd05aba093dee96/matplotlib-2.1.0.tar.gz (35.7MB)
100% |################################| 35.7MB 412kB/s
Collecting numpy>=1.7.1 (from matplotlib==2.1.0)
Using cached https://files.pythonhosted.org/packages/45/04/7a738e489a25a9638520a43a0cbfcc4be3ed056266e3110a330a905b36b5/numpy-1.16.2-cp35-cp35m-manylinux1_i686.whl
Collecting six>=1.10 (from matplotlib==2.1.0)
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.0 (from matplotlib==2.1.0)
Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl
Collecting pytz (from matplotlib==2.1.0)
Downloading https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl (510kB)
100% |################################| 512kB 8.4MB/s
Collecting cycler>=0.10 (from matplotlib==2.1.0)
Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib==2.1.0)
Downloading https://files.pythonhosted.org/packages/dd/d9/3ec19e966301a6e25769976999bd7bbe552016f0d32b577dc9d63d2e0c49/pyparsing-2.4.0-py2.py3-none-any.whl (62kB)
100% |################################| 71kB 10.8MB/s
Building wheels for collected packages: matplotlib
Building wheel for matplotlib (setup.py) ... done
Stored in directory: /home/phd/.cache/pip/wheels/a7/99/eb/b5566219ff5a526f98e802144d551feaa6b9340b3569bf86df
Successfully built matplotlib
Installing collected packages: numpy, six, python-dateutil, pytz, cycler, pyparsing, matplotlib
Successfully installed cycler-0.10.0 matplotlib-2.1.0 numpy-1.16.2 pyparsing-2.4.0 python-dateutil-2.8.0 pytz-2019.1 six-1.12.0
$ pip install dsutil
Collecting dsutil
Downloading https://files.pythonhosted.org/packages/17/58/ea2ccb9d071040eb5baa16b91327a6799decec6cfbfb12222388e37951d7/dsutil-0.1.1-py3-none-any.whl
Collecting scikit-learn>=0.20.0 (from dsutil)
Downloading https://files.pythonhosted.org/packages/ee/40/d5e691b6f103f5cdfbd2e1468cb172f2267224844330ffe494409ff6a3d5/scikit_learn-0.20.3-cp35-cp35m-manylinux1_i686.whl (4.9MB)
100% |################################| 4.9MB 4.3MB/s
Collecting pandas>=0.20.0 (from dsutil)
Downloading https://files.pythonhosted.org/packages/b1/57/069982c126d22bbdb4de71912eec2c1d8d303149a0d7b17927797479a0ed/pandas-0.24.2-cp35-cp35m-manylinux1_i686.whl (8.7MB)
100% |################################| 8.7MB 3.0MB/s
Requirement already satisfied: matplotlib>=2.0.0 in ./lib/python3.5/site-packages (from dsutil) (2.1.0)
Requirement already satisfied: numpy>=1.8.2 in ./lib/python3.5/site-packages (from scikit-learn>=0.20.0->dsutil) (1.16.2)
Collecting scipy>=0.13.3 (from scikit-learn>=0.20.0->dsutil)
Using cached https://files.pythonhosted.org/packages/19/7b/fdd034bbd1c266b05bc5c38bc91e6733c0e19bc9d3630fd32d869998b6e3/scipy-1.2.1-cp35-cp35m-manylinux1_i686.whl
Requirement already satisfied: python-dateutil>=2.5.0 in ./lib/python3.5/site-packages (from pandas>=0.20.0->dsutil) (2.8.0)
Requirement already satisfied: pytz>=2011k in ./lib/python3.5/site-packages (from pandas>=0.20.0->dsutil) (2019.1)
Requirement already satisfied: cycler>=0.10 in ./lib/python3.5/site-packages (from matplotlib>=2.0.0->dsutil) (0.10.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in ./lib/python3.5/site-packages (from matplotlib>=2.0.0->dsutil) (2.4.0)
Requirement already satisfied: six>=1.10 in ./lib/python3.5/site-packages (from matplotlib>=2.0.0->dsutil) (1.12.0)
Installing collected packages: scipy, scikit-learn, pandas, dsutil
Successfully installed dsutil-0.1.1 pandas-0.24.2 scikit-learn-0.20.3 scipy-1.2.1
See? matplotlib is not upgraded. Requirement already satisfied: matplotlib>=2.0.0. Can you show similar output of your terminal so we better understand what is going on?
Since you are specifying version to be >=2.0.0 (greater than 2.x.x), pip is installing latest version 3.x.x.
If you want to install version 2.0.0 then try using following code:
install_requires=[
'matplotlib==2.0.0'
]
Link for more information about versioning.

Pip Install Spyder on Windows 10 (Won't Start)

I seem to be unable to uninstall Spyder using Pip with Python 3.7.0 on Windows 10 version 1607 build 14393. Once it finishes installing, typing "spyder3" into PowerShell creates a brief spinning wheel, and then does nothing.
I verified this problem in a Windows virtual machine of the same version, installing Python 3.7.0 brand-new, pip installing spyder, and then still having the same issue.
Here's the output I got when installing it (maybe something helpful is in there, I don't know)
PS C:\Users\Jack\Downloads> pip install spyder
Collecting spyder
Downloading https://files.pythonhosted.org/packages/3d/a6/41b210caa17b9e7336a781fd35a63c0e90b4989f336060e12caf93f3bd70/spyder-3.3.3-py3-none-any.whl (2.8MB)
100% |████████████████████████████████| 2.8MB 6.6MB/s
Collecting qtconsole>=4.2.0 (from spyder)
Downloading https://files.pythonhosted.org/packages/e0/7a/8aefbc0ed078dec7951ac9a06dcd1869243ecd7bcbce26fa47bf5e469a8f/qtconsole-4.4.3-py2.py3-none-any.whl (113kB)
100% |████████████████████████████████| 122kB 5.7MB/s
Collecting pickleshare (from spyder)
Downloading https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
Collecting pycodestyle (from spyder)
Downloading https://files.pythonhosted.org/packages/0e/0c/04a353e104d2f324f8ee5f4b32012618c1c86dd79e52a433b64fceed511b/pycodestyle-2.5.0-py2.py3-none-any.whl (51kB)
100% |████████████████████████████████| 51kB ...
Collecting jedi>=0.9.0 (from spyder)
Downloading https://files.pythonhosted.org/packages/25/2b/1f188901be099d52d7b06f4d3b7cb9f8f09692c50697b139eaf6fa2928d8/jedi-0.13.3-py2.py3-none-any.whl (178kB)
100% |████████████████████████████████| 184kB 11.0MB/s
Collecting pylint (from spyder)
Downloading https://files.pythonhosted.org/packages/60/c2/b3f73f4ac008bef6e75bca4992f3963b3f85942e0277237721ef1c151f0d/pylint-2.3.1-py3-none-any.whl (765kB)
100% |████████████████████████████████| 768kB 6.4MB/s
Collecting numpydoc (from spyder)
Downloading https://files.pythonhosted.org/packages/95/a8/b4706a6270f0475541c5c1ee3373c7a3b793936ec1f517f1a1dab4f896c0/numpydoc-0.8.0.tar.gz
Collecting cloudpickle (from spyder)
Downloading https://files.pythonhosted.org/packages/47/d5/efa7cacef5d3bdcd71d7053a698fb9b64a20fff5cb3c592efefa53ea5578/cloudpickle-0.8.0-py2.py3-none-any.whl
Collecting pyqt5<=5.12; python_version >= "3" (from spyder)
Downloading https://files.pythonhosted.org/packages/a7/83/9acca4c6cc220f29607d857d87bcc1bd645daa4c5f8cff9958f60c5228a8/PyQt5-5.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 https://files.pythonhosted.org/packages/13/e5/6d710c9cf96c31ac82657bcfb441df328b22df8564d58d0c4cd62612674c/Pygments-2.3.1-py2.py3-none-any.whl (849kB)
100% |████████████████████████████████| 849kB 6.5MB/s
Collecting spyder-kernels<1.0,>=0.4.2 (from spyder)
Downloading https://files.pythonhosted.org/packages/2c/8b/45c8778e84ed80dcca57e5eeab1b3bf0b8f65f58bf13eab15b89ba6aaecf/spyder_kernels-0.4.2-py2.py3-none-any.whl (53kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting psutil (from spyder)
Downloading https://files.pythonhosted.org/packages/6a/48/dbcda6d136da319e8bee8196e6c52ff7febf56bd241435cf6a516341a4b1/psutil-5.6.1-cp37-cp37m-win_amd64.whl (230kB)
100% |████████████████████████████████| 235kB 6.6MB/s
Collecting chardet>=2.0.0 (from spyder)
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
100% |████████████████████████████████| 143kB ...
Collecting pyzmq (from spyder)
Downloading https://files.pythonhosted.org/packages/97/70/830668ac324b72157115a919b23e510f9ef5f61ea4d5a6009320f7327638/pyzmq-18.0.1-cp37-cp37m-win_amd64.whl (1.0MB)
100% |████████████████████████████████| 1.1MB 6.5MB/s
Collecting sphinx (from spyder)
Downloading https://files.pythonhosted.org/packages/7d/66/a4af242b4348b729b9d46ce5db23943ce9bca7da9bbe2ece60dc27f26420/Sphinx-1.8.5-py2.py3-none-any.whl (3.1MB)
100% |████████████████████████████████| 3.1MB 6.4MB/s
Collecting nbconvert (from spyder)
Downloading https://files.pythonhosted.org/packages/b8/39/1e67fea74dc9577cc49f9863fe3ec824e525d1304ab6027d95a94cd586f5/nbconvert-5.4.1-py2.py3-none-any.whl (407kB)
100% |████████████████████████████████| 409kB 6.6MB/s
Collecting rope>=0.10.5 (from spyder)
Downloading https://files.pythonhosted.org/packages/af/9b/e92c1d561631da9fbeaf4d5d67ecb65b7d284a63069ee37aec44a2eefae4/rope-0.12.0.tar.gz (246kB)
100% |████████████████████████████████| 256kB 6.6MB/s
Collecting keyring; sys_platform != "linux2" (from spyder)
Downloading https://files.pythonhosted.org/packages/a1/28/0058032477bfdf2003e605d175629963759220661615443e20711446bfa7/keyring-18.0.0-py2.py3-none-any.whl
Collecting pyflakes (from spyder)
Downloading https://files.pythonhosted.org/packages/84/f2/ed0ffb887f8138a8fe5a621b8c0bb9598bfb3989e029f6c6a85ee66628ee/pyflakes-2.1.1-py2.py3-none-any.whl (59kB)
100% |████████████████████████████████| 61kB 2.9MB/s
Collecting qtawesome>=0.4.1 (from spyder)
Downloading https://files.pythonhosted.org/packages/d8/7f/762f452eef57daf382fc8c16e65026269a96e2f326e4b475008a9adca9de/QtAwesome-0.5.7-py2.py3-none-any.whl (628kB)
100% |████████████████████████████████| 634kB ...
Collecting qtpy>=1.5.0 (from spyder)
Downloading https://files.pythonhosted.org/packages/88/31/4e09942c43cd46050025b8b80c8d8c972dc88807740a49351bd4af41f1ab/QtPy-1.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 https://files.pythonhosted.org/packages/3b/c3/3043fe9ffd140d03c9d091a056794ccdc427c56ec19b8eea74f9ea0a498f/jupyter_client-5.2.4-py2.py3-none-any.whl (89kB)
100% |████████████████████████████████| 92kB 5.9MB/s
Collecting jupyter-core (from qtconsole>=4.2.0->spyder)
Downloading https://files.pythonhosted.org/packages/1d/44/065d2d7bae7bebc06f1dd70d23c36da8c50c0f08b4236716743d706762a8/jupyter_core-4.4.0-py2.py3-none-any.whl (126kB)
100% |████████████████████████████████| 133kB ...
Collecting traitlets (from qtconsole>=4.2.0->spyder)
Downloading https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl (74kB)
100% |████████████████████████████████| 81kB ...
Collecting ipython-genutils (from qtconsole>=4.2.0->spyder)
Downloading https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting ipykernel>=4.1 (from qtconsole>=4.2.0->spyder)
Downloading https://files.pythonhosted.org/packages/d8/b0/f0be5c5ab335196f5cce96e5b889a4fcf5bfe462eb0acc05cd7e2caf65eb/ipykernel-5.1.0-py3-none-any.whl (113kB)
100% |████████████████████████████████| 122kB ...
Collecting parso>=0.3.0 (from jedi>=0.9.0->spyder)
Downloading https://files.pythonhosted.org/packages/19/b1/522b2671cc6d134c9d3f5dfc0d02fee07cab848e908d03d2bffea78cca8f/parso-0.3.4-py2.py3-none-any.whl (93kB)
100% |████████████████████████████████| 102kB ...
Collecting mccabe<0.7,>=0.6 (from pylint->spyder)
Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting astroid<3,>=2.2.0 (from pylint->spyder)
Downloading https://files.pythonhosted.org/packages/d5/ad/7221a62a2dbce5c3b8c57fd18e1052c7331adc19b3f27f1561aa6e620db2/astroid-2.2.5-py3-none-any.whl (193kB)
100% |████████████████████████████████| 194kB 6.6MB/s
Collecting isort<5,>=4.2.5 (from pylint->spyder)
Downloading https://files.pythonhosted.org/packages/b6/89/3137d13dd30a0d063435661950f6dfd50957532989e49aef652f490ef616/isort-4.3.15-py2.py3-none-any.whl (42kB)
100% |████████████████████████████████| 51kB ...
Collecting colorama; sys_platform == "win32" (from pylint->spyder)
Downloading https://files.pythonhosted.org/packages/4f/a6/728666f39bfff1719fc94c481890b2106837da9318031f71a8424b662e12/colorama-0.4.1-py2.py3-none-any.whl
Collecting Jinja2>=2.3 (from numpydoc->spyder)
Downloading https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.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 https://files.pythonhosted.org/packages/e4/e5/5e9462008239783720c3eb81d73d2101cc2d5666c2e4db40fe594071d8a7/PyQt5_sip-4.19.14-cp37-none-win_amd64.whl (51kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting packaging (from sphinx->spyder)
Downloading https://files.pythonhosted.org/packages/91/32/58bc30e646e55eab8b21abf89e353f59c0cc02c417e42929f4a9546e1b1d/packaging-19.0-py2.py3-none-any.whl
Collecting six>=1.5 (from sphinx->spyder)
Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting sphinxcontrib-websupport (from sphinx->spyder)
Downloading https://files.pythonhosted.org/packages/52/69/3c2fbdc3702358c5b34ee25e387b24838597ef099761fc9a42c166796e8f/sphinxcontrib_websupport-1.1.0-py2.py3-none-any.whl
Collecting alabaster<0.8,>=0.7 (from sphinx->spyder)
Downloading https://files.pythonhosted.org/packages/10/ad/00b090d23a222943eb0eda509720a404f531a439e803f6538f35136cae9e/alabaster-0.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 https://files.pythonhosted.org/packages/fc/b6/aef66b4c52a6ad6ac18cf6ebc5731ed06d8c9ae4d3b2d9951f261150be67/imagesize-1.1.0-py2.py3-none-any.whl
Collecting babel!=2.0,>=1.3 (from sphinx->spyder)
Downloading https://files.pythonhosted.org/packages/b8/ad/c6f60602d3ee3d92fbed87675b6fb6a6f9a38c223343ababdb44ba201f10/Babel-2.6.0-py2.py3-none-any.whl (8.1MB)
100% |████████████████████████████████| 8.1MB 6.5MB/s
Collecting snowballstemmer>=1.1 (from sphinx->spyder)
Downloading https://files.pythonhosted.org/packages/d4/6c/8a935e2c7b54a37714656d753e4187ee0631988184ed50c0cf6476858566/snowballstemmer-1.2.1-py2.py3-none-any.whl (64kB)
100% |████████████████████████████████| 71kB ...
Collecting requests>=2.0.0 (from sphinx->spyder)
Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (57kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting docutils>=0.11 (from sphinx->spyder)
Downloading https://files.pythonhosted.org/packages/36/fa/08e9e6e0e3cbd1d362c3bbee8d01d0aedb2155c4ac112b19ef3cae8eed8d/docutils-0.14-py3-none-any.whl (543kB)
100% |████████████████████████████████| 552kB 6.6MB/s
Collecting pandocfilters>=1.4.1 (from nbconvert->spyder)
Downloading https://files.pythonhosted.org/packages/4c/ea/236e2584af67bb6df960832731a6e5325fd4441de001767da328c33368ce/pandocfilters-1.4.2.tar.gz
Collecting defusedxml (from nbconvert->spyder)
Downloading https://files.pythonhosted.org/packages/87/1c/17f3e3935a913dfe2a5ca85fa5ccbef366bfd82eb318b1f75dadbf0affca/defusedxml-0.5.0-py2.py3-none-any.whl
Collecting testpath (from nbconvert->spyder)
Downloading https://files.pythonhosted.org/packages/be/a4/162f9ebb6489421fe46dcca2ae420369edfee4b563c668d93cb4605d12ba/testpath-0.4.2-py2.py3-none-any.whl (163kB)
100% |████████████████████████████████| 163kB 6.6MB/s
Collecting entrypoints>=0.2.2 (from nbconvert->spyder)
Downloading https://files.pythonhosted.org/packages/ac/c6/44694103f8c221443ee6b0041f69e2740d89a25641e62fb4f2ee568f2f9c/entrypoints-0.3-py2.py3-none-any.whl
Collecting nbformat>=4.4 (from nbconvert->spyder)
Downloading https://files.pythonhosted.org/packages/da/27/9a654d2b6cc1eaa517d1c5a4405166c7f6d72f04f6e7eea41855fe808a46/nbformat-4.4.0-py2.py3-none-any.whl (155kB)
100% |████████████████████████████████| 163kB 6.6MB/s
Collecting bleach (from nbconvert->spyder)
Downloading https://files.pythonhosted.org/packages/ab/05/27e1466475e816d3001efb6e0a85a819be17411420494a1e602c36f8299d/bleach-3.1.0-py2.py3-none-any.whl (157kB)
100% |████████████████████████████████| 163kB 6.5MB/s
Collecting mistune>=0.8.1 (from nbconvert->spyder)
Downloading https://files.pythonhosted.org/packages/09/ec/4b43dae793655b7d8a25f76119624350b4d65eb663459eb9603d7f1f0345/mistune-0.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 https://files.pythonhosted.org/packages/9e/4b/3ab2720f1fa4b4bc924ef1932b842edf10007e4547ea8157b0b9fc78599a/pywin32_ctypes-0.2.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.1 (from jupyter-client>=4.1->qtconsole>=4.2.0->spyder)
Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.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 https://files.pythonhosted.org/packages/a4/39/78b68ebe0505a313128d23d336fdd3512b138f4ade936c6c7db9aeba1c1a/tornado-6.0.1-cp37-cp37m-win_amd64.whl (415kB)
100% |████████████████████████████████| 419kB ...
Collecting decorator (from traitlets->qtconsole>=4.2.0->spyder)
Downloading https://files.pythonhosted.org/packages/f1/cd/7c8240007e9716b14679bc217a1baefa4432aa30394f7e2ec40a52b1a708/decorator-4.3.2-py2.py3-none-any.whl
Collecting ipython>=5.0.0 (from ipykernel>=4.1->qtconsole>=4.2.0->spyder)
Downloading https://files.pythonhosted.org/packages/14/3b/3fcf422a99a04ee493e6a4fc3014e3c8ff484a7feed238fef68bdc285085/ipython-7.3.0-py3-none-any.whl (768kB)
100% |████████████████████████████████| 778kB 6.5MB/s
Collecting wrapt (from astroid<3,>=2.2.0->pylint->spyder)
Downloading https://files.pythonhosted.org/packages/67/b2/0f71ca90b0ade7fad27e3d20327c996c6252a2ffe88f50a95bba7434eda9/wrapt-1.11.1.tar.gz
Collecting lazy-object-proxy (from astroid<3,>=2.2.0->pylint->spyder)
Downloading https://files.pythonhosted.org/packages/55/08/23c0753599bdec1aec273e322f277c4e875150325f565017f6280549f554/lazy-object-proxy-1.3.1.tar.gz
Collecting typed-ast>=1.3.0; implementation_name == "cpython" (from astroid<3,>=2.2.0->pylint->spyder)
Downloading https://files.pythonhosted.org/packages/5e/4e/79a8d30d2d7925bd1b86416a8921e98c5c336a00204c2edbbd9ff420d8a1/typed_ast-1.3.1-cp37-cp37m-win_amd64.whl (153kB)
100% |████████████████████████████████| 163kB 6.6MB/s
Collecting MarkupSafe>=0.23 (from Jinja2>=2.3->numpydoc->spyder)
Downloading https://files.pythonhosted.org/packages/65/c6/2399700d236d1dd681af8aebff1725558cddfd6e43d7a5184a675f4711f5/MarkupSafe-1.1.1-cp37-cp37m-win_amd64.whl
Collecting pyparsing>=2.0.2 (from packaging->sphinx->spyder)
Downloading https://files.pythonhosted.org/packages/de/0a/001be530836743d8be6c2d85069f46fecf84ac6c18c7f5fb8125ee11d854/pyparsing-2.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 https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.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 https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.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 https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.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 https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.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 https://files.pythonhosted.org/packages/aa/69/df679dfbdd051568b53c38ec8152a3ab6bc533434fc7ed11ab034bf5e82f/jsonschema-3.0.1-py2.py3-none-any.whl (54kB)
100% |████████████████████████████████| 61kB 3.9MB/s
Collecting webencodings (from bleach->nbconvert->spyder)
Downloading https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.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 https://files.pythonhosted.org/packages/f7/a7/9b1dd14ef45345f186ef69d175bdd2491c40ab1dfa4b2b3e4352df719ed7/prompt_toolkit-2.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 https://files.pythonhosted.org/packages/84/71/c8ca4f5bb1e08401b916c68003acf0a0655df935d74d93bf3f3364b310e0/backcall-0.1.0.tar.gz
Collecting pyrsistent>=0.14.0 (from jsonschema!=2.5.0,>=2.4->nbformat>=4.4->nbconvert->spyder)
Downloading https://files.pythonhosted.org/packages/8c/46/4e93ab8a379d7efe93f20a0fb8a27bdfe88942cc954ab0210c3164e783e0/pyrsistent-0.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 https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.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 https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.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.
I have the same issue when double clicking the "spyder.exe" file located at C:\Program Files\Python\Python37\Scripts\spyder3.exe.
Also, I tried the following (in PowerShell):
python
from spyder.app import start
start.main()
But then I got this error:
Traceback (most recent call last):
File "C:\Program Files\Python\Python37\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 22, in <module>
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 "<stdin>", line 1, in <module>
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 <module>
from qtpy import QtWebEngineWidgets # analysis:ignore
File "C:\Program Files\Python\Python37\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 26, in <module>
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
So I tried pip install PyQt5, but it told me the requirement was already satisfied, and trying spyder again afterward was still to no avail.
I am not sure how to resolve this. It seems like nothing I do will get spyder working. Do you know how to fix this?
PyQtWebEngine is now in its own package, separate from PyQt5.
Try:
pip install PyQtWebEngine
And then see if you can use Spyder.
See also: https://pypi.org/project/PyQtWebEngine/

i wanna know how to install ipython notebook in my mac

I have installed python in my mac. But when i try to install ipython notebook using pip install ipython notebook it throws an exception. I'm a beginner to python. This is what i get when i try to install ipython notebook
pip install ipython notebook
Collecting ipython
Using cached ipython-4.0.1-py2-none-any.whl
Collecting notebook
Downloading notebook-4.0.6-py2.py3-none-any.whl (5.6MB)
100% |████████████████████████████████| 5.6MB 102kB/s
Collecting traitlets (from ipython)
Using cached traitlets-4.0.0-py2.py3-none-any.whl
Collecting pickleshare (from ipython)
Using cached pickleshare-0.5.tar.gz
Collecting simplegeneric>0.8 (from ipython)
Using cached simplegeneric-0.8.1.zip
Collecting decorator (from ipython)
Using cached decorator-4.0.6-py2.py3-none-any.whl
Collecting gnureadline (from ipython)
Using cached gnureadline-6.3.3-cp27-none-macosx_10_6_intel.whl
Collecting appnope (from ipython)
Using cached appnope-0.1.0-py2.py3-none-any.whl
Collecting pexpect (from ipython)
Using cached pexpect-4.0.1.tar.gz
Collecting tornado>=4 (from notebook)
Downloading tornado-4.3.tar.gz (450kB)
100% |████████████████████████████████| 454kB 68kB/s
Collecting jupyter-client (from notebook)
Downloading jupyter_client-4.1.1-py2.py3-none-any.whl (70kB)
100% |████████████████████████████████| 73kB 66kB/s
Collecting nbformat (from notebook)`enter code here`
Downloading nbformat-4.0.1-py2.py3-none-any.whl (138kB)
100% |████████████████████████████████| 139kB 66kB/s
Collecting jupyter-core (from notebook)
Downloading jupyter_core-4.0.6-py2.py3-none-any.whl (74kB)
100% |████████████████████████████████| 77kB 4.1MB/s
Collecting jinja2 (from notebook)
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
100% |████████████████████████████████| 266kB 66kB/s
Collecting ipykernel (from notebook)
Downloading ipykernel-4.2.1-py2.py3-none-any.whl (90kB)
100% |████████████████████████████████| 94kB 4.0MB/s
Collecting terminado>=0.3.3 (from notebook)
Downloading terminado-0.5.tar.gz
Collecting ipython-genutils (from notebook)
Using cached ipython_genutils-0.1.0-py2.py3-none-any.whl
Collecting nbconvert (from notebook)
Downloading nbconvert-4.1.0-py2.py3-none-any.whl (281kB)
100% |████████████████████████████████| 282kB 81kB/s
Collecting path.py (from pickleshare->ipython)
Using cached path.py-8.1.2-py2.py3-none-any.whl
Collecting ptyprocess>=0.5 (from pexpect->ipython)
Using cached ptyprocess-0.5.tar.gz
Collecting backports.ssl-match-hostname (from tornado>=4->notebook)
Downloading backports.ssl_match_hostname-3.4.0.2.tar.gz
Collecting singledispatch (from tornado>=4->notebook)
Downloading singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting certifi (from tornado>=4->notebook)
Downloading certifi-2015.11.20.1-py2.py3-none-any.whl (368kB)
100% |████████████████████████████████| 372kB 919kB/s
Collecting backports-abc>=0.4 (from tornado>=4->notebook)
Downloading backports_abc-0.4-py2.py3-none-any.whl
Collecting pyzmq>=13 (from jupyter-client->notebook)
Downloading pyzmq-15.1.0-cp27-none-macosx_10_6_intel.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 30kB/s
Collecting jsonschema!=2.5.0,>=2.0 (from nbformat->notebook)
Downloading jsonschema-2.5.1-py2.py3-none-any.whl
Collecting MarkupSafe (from jinja2->notebook)
Downloading MarkupSafe-0.23.tar.gz
Collecting pygments (from nbconvert->notebook)
Downloading Pygments-2.0.2-py2-none-any.whl (672kB)
100% |████████████████████████████████| 675kB 729kB/s
Collecting mistune!=0.6 (from nbconvert->notebook)
Downloading mistune-0.7.1-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (418kB)
100% |████████████████████████████████| 421kB 32kB/s
Requirement already satisfied (use --upgrade to upgrade): six in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from singledispatch->tornado>=4->notebook)
Collecting functools32 (from jsonschema!=2.5.0,>=2.0->nbformat->notebook)
Downloading functools32-3.2.3-2.tar.gz
Installing collected packages: decorator, ipython-genutils, traitlets, path.py, pickleshare, simplegeneric, gnureadline, appnope, ptyprocess, pexpect, ipython, backports.ssl-match-hostname, singledispatch, certifi, backports-abc, tornado, jupyter-core, pyzmq, jupyter-client, functools32, jsonschema, nbformat, MarkupSafe, jinja2, ipykernel, terminado, pygments, mistune, nbconvert, notebook
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/basecommand.py", line 211, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/commands/install.py", line 311, in run
root=options.root_path,
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_set.py", line 646, in install
**kwargs
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", line 803, in install
self.move_wheel_files(self.source_dir, root=root)
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", line 998, in move_wheel_files
isolated=self.isolated,
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/wheel.py", line 339, in move_wheel_files
clobber(source, lib_dir, True)
File "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/wheel.py", line 317, in clobber
shutil.copyfile(srcfile, destfile)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/decorator.py'
This looks like a permissions problem - while not a Mac user I think that you may get around this by simply using:
sudo pip install ipython notebook

Categories

Resources