其他分享
首页 > 其他分享> > 【ThinkStats2 】pip3 安装缺失包

【ThinkStats2 】pip3 安装缺失包

作者:互联网

ThinkStats2 缺少各种包,需要pip3 安装

PS E:\ADDEV\RTCTRANS\ThinkStats2\code> pip3 install jupyter
pip3 : 无法将“pip3”项识别为 cmdlet、函数、脚本文件或可运行程序的
名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次
。
所在位置 行:1 字符: 1
+ pip3 install jupyter
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (pip3:String) [], C
   ommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS E:\ADDEV\RTCTRANS\ThinkStats2\code> pip install matplotlib
pip : 无法将“pip”项识别为 cmdlet、函数、脚本文件或可运行程序的名
称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ pip install matplotlib
+ ~~~
    + CategoryInfo          : ObjectNotFound: (pip:String) [], Co
   mmandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

python3 路径

在这里插入图片描述

vs自带的

D:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\Scripts

pip3

在这里插入图片描述

在这里插入图片描述

pip3 install jupyter

PS E:\ADDEV\RTCTRANS\ThinkStats2\thinkplot> pip3 install jupyter
Defaulting to user installation because normal site-packages is not writeable
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/jupyter/
Collecting jupyter
  Downloading jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)
Collecting qtconsole
  Downloading qtconsole-5.1.0-py3-none-any.whl (119 kB)
     |████████████████████████████████| 119 kB 1.7 MB/s
Collecting notebook
  Downloading notebook-6.3.0-py3-none-any.whl (9.5 MB)
     |████████████████████████████████| 9.5 MB 6.8 MB/s
Collecting ipykernel
  Downloading ipykernel-5.5.4-py3-none-any.whl (120 kB)
     |████████████████████████████████| 120 kB ...
Collecting nbconvert
  Downloading nbconvert-6.0.7-py3-none-any.whl (552 kB)
     |████████████████████████████████| 552 kB 6.4 MB/s
Collecting ipywidgets
  Downloading ipywidgets-7.6.3-py2.py3-none-any.whl (121 kB)
     |████████████████████████████████| 121 kB 6.8 MB/s
Collecting jupyter-console
  Downloading jupyter_console-6.4.0-py3-none-any.whl (22 kB)
Collecting pyzmq>=17.1
  Downloading pyzmq-22.0.3-cp37-cp37m-win_amd64.whl (1.2 MB)
     |████████████████████████████████| 1.2 MB ...
Collecting jupyter-core
  Downloading jupyter_core-4.7.1-py3-none-any.whl (82 kB)
     |████████████████████████████████| 82 kB 526 kB/s
Collecting jupyter-client>=4.1
  Downloading jupyter_client-6.1.12-py3-none-any.whl (112 kB)
     |████████████████████████████████| 112 kB ...
Collecting ipython-genutils
  Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting qtpy
  Downloading QtPy-1.9.0-py2.py3-none-any.whl (54 kB)
     |████████████████████████████████| 54 kB ...
Collecting pygments
  Downloading Pygments-2.9.0-py3-none-any.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 6.4 MB/s
Collecting traitlets
  Downloading traitlets-5.0.5-py3-none-any.whl (100 kB)
     |████████████████████████████████| 100 kB 2.8 MB/s
Collecting terminado>=0.8.3
  Downloading terminado-0.9.4-py3-none-any.whl (14 kB)
Collecting tornado>=6.1
  Downloading tornado-6.1-cp37-cp37m-win_amd64.whl (422 kB)
     |████████████████████████████████| 422 kB ...
Collecting Send2Trash>=1.5.0
  Downloading Send2Trash-1.5.0-py3-none-any.whl (12 kB)
Collecting prometheus-client
  Downloading prometheus_client-0.10.1-py2.py3-none-any.whl (55 kB)
     |████████████████████████████████| 55 kB 735 kB/s
Collecting argon2-cffi
  Downloading argon2_cffi-20.1.0-cp37-cp37m-win_amd64.whl (42 kB)
     |████████████████████████████████| 42 kB 187 kB/s
Collecting nbformat
  Downloading nbformat-5.1.3-py3-none-any.whl (178 kB)
     |████████████████████████████████| 178 kB 6.4 MB/s
Collecting jinja2
  Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
     |████████████████████████████████| 125 kB ...
Collecting ipython>=5.0.0
  Downloading ipython-7.23.1-py3-none-any.whl (785 kB)
     |████████████████████████████████| 785 kB 6.4 MB/s
Collecting nbclient<0.6.0,>=0.5.0
  Downloading nbclient-0.5.3-py3-none-any.whl (82 kB)
     |████████████████████████████████| 82 kB 154 kB/s
Collecting pandocfilters>=1.4.1
  Downloading pandocfilters-1.4.3.tar.gz (16 kB)
Collecting entrypoints>=0.2.2
  Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting bleach
  Downloading bleach-3.3.0-py2.py3-none-any.whl (283 kB)
     |████████████████████████████████| 283 kB 6.8 MB/s
Collecting jupyterlab-pygments
  Downloading jupyterlab_pygments-0.1.2-py2.py3-none-any.whl (4.6 kB)
Collecting mistune<2,>=0.8.1
  Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting defusedxml
  Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting testpath
  Downloading testpath-0.4.4-py2.py3-none-any.whl (163 kB)
     |████████████████████████████████| 163 kB 6.4 MB/s
Collecting widgetsnbextension~=3.5.0
  Downloading widgetsnbextension-3.5.1-py2.py3-none-any.whl (2.2 MB)
     |████████████████████████████████| 2.2 MB ...
Collecting jupyterlab-widgets>=1.0.0; python_version >= "3.6"
  Downloading jupyterlab_widgets-1.0.0-py3-none-any.whl (243 kB)
     |████████████████████████████████| 243 kB ...
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Downloading prompt_toolkit-3.0.18-py3-none-any.whl (367 kB)
     |████████████████████████████████| 367 kB ...
Collecting pywin32>=1.0; sys_platform == "win32"
  Downloading pywin32-300-cp37-cp37m-win_amd64.whl (9.2 MB)
     |████████████████████████████████| 9.2 MB 6.4 MB/s
Collecting python-dateutil>=2.1
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB ...
Collecting pywinpty>=0.5; os_name == "nt"
  Downloading pywinpty-1.0.1-cp37-none-win_amd64.whl (1.4 MB)
     |████████████████████████████████| 1.4 MB 6.4 MB/s
Collecting cffi>=1.0.0
  Downloading cffi-1.14.5-cp37-cp37m-win_amd64.whl (178 kB)
     |████████████████████████████████| 178 kB ...
Collecting six
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting jsonschema!=2.5.0,>=2.4
  Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 651 kB/s
Collecting MarkupSafe>=0.23
  Downloading MarkupSafe-1.1.1-cp37-cp37m-win_amd64.whl (16 kB)
Collecting jedi>=0.16
  Downloading jedi-0.18.0-py2.py3-none-any.whl (1.4 MB)
     |████████████████████████████████| 1.4 MB 6.8 MB/s
Collecting pickleshare
  Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting matplotlib-inline
  Downloading matplotlib_inline-0.1.2-py3-none-any.whl (8.2 kB)
Collecting backcall
  Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting colorama; sys_platform == "win32"
  Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: setuptools>=18.5 in d:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (from ipython>=5.0.0->ipykernel->jupyter) (47.1.0)
Collecting decorator
  Downloading decorator-5.0.7-py3-none-any.whl (8.8 kB)
Collecting async-generator
  Downloading async_generator-1.10-py3-none-any.whl (18 kB)
Collecting nest-asyncio
  Downloading nest_asyncio-1.5.1-py3-none-any.whl (5.0 kB)
Collecting packaging
  Downloading packaging-20.9-py2.py3-none-any.whl (40 kB)
     |████████████████████████████████| 40 kB 656 kB/s
Collecting webencodings
  Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting wcwidth
  Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting pycparser
  Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
     |████████████████████████████████| 112 kB 6.4 MB/s
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-4.0.1-py3-none-any.whl (16 kB)
Collecting pyrsistent>=0.14.0
  Downloading pyrsistent-0.17.3.tar.gz (106 kB)
     |████████████████████████████████| 106 kB 6.4 MB/s
Collecting attrs>=17.4.0
  Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB)
     |████████████████████████████████| 49 kB 891 kB/s
Collecting parso<0.9.0,>=0.8.0
  Downloading parso-0.8.2-py2.py3-none-any.whl (94 kB)
     |████████████████████████████████| 94 kB 297 kB/s
Collecting pyparsing>=2.0.2
  Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 953 kB/s
Collecting zipp>=0.5
  Downloading zipp-3.4.1-py3-none-any.whl (5.2 kB)
Collecting typing-extensions>=3.6.4; python_version < "3.8"
  Downloading typing_extensions-3.10.0.0-py3-none-any.whl (26 kB)
Using legacy setup.py install for pandocfilters, since package 'wheel' is not installed.
Using legacy setup.py install for pyrsistent, since package 'wheel' is not installed.
Installing collected packages: pyzmq, pywin32, ipython-genutils, traitlets, jupyter-core, tornado, six, python-dateutil, jupyter-client, qtpy, pygments, parso, jedi, pickleshare, matplotlib-inline, wcwidth, prompt-toolkit, backcall, colorama, decorator, ipython, ipykernel, qtconsole, pywinpty, terminado, async-generator, zipp, typing-extensions, importlib-metadata, pyrsistent, attrs, jsonschema, nbformat, nest-asyncio, nbclient, pandocfilters, entrypoints, MarkupSafe, jinja2, pyparsing, packaging, webencodings, bleach, jupyterlab-pygments, mistune, defusedxml, testpath, nbconvert, Send2Trash, prometheus-client, pycparser, cffi, argon2-cffi, notebook, widgetsnbextension, jupyterlab-widgets, ipywidgets, jupyter-console, jupyter
  WARNING: The scripts jupyter-migrate.exe, jupyter-troubleshoot.exe and jupyter.exe are installed in 'C:\Users\Administrator\AppData\Roaming\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.
  WARNING: The scripts jupyter-kernel.exe, jupyter-kernelspec.exe and jupyter-run.exe are installed in 'C:\Users\Administrator\AppData\Roaming\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.
  WARNING: The script pygmentize.exe is installed in 'C:\Users\Administrator\AppData\Roaming\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.
  WARNING: The scripts iptest.exe, iptest3.exe, ipython.exe and ipython3.exe are installed in 'C:\Users\Administrator\AppData\Roaming\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 pyrsistent ... done
  WARNING: The script jsonschema.exe is installed in 'C:\Users\Administrator\AppData\Roaming\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.
  WARNING: The script jupyter-trust.exe is installed in 'C:\Users\Administrator\AppData\Roaming\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
  WARNING: The script jupyter-nbconvert.exe is installed in 'C:\Users\Administrator\AppData\Roaming\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.
  WARNING: The scripts jupyter-bundlerextension.exe, jupyter-nbextension.exe, jupyter-notebook.exe and jupyter-serverextension.exe are installed in 'C:\Users\Administrator\AppData\Roaming\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.

Collecting zipp>=0.5
  Downloading zipp-3.4.1-py3-none-any.whl (5.2 kB)
Collecting typing-extensions>=3.6.4; python_version < "3.8"
  Downloading typing_extensions-3.10.0.0-py3-none-any.whl (26 kB)
Using legacy setup.py install for pandocfilters, since package 'wheel' is not installed.
Using legacy setup.py install for pyrsistent, since package 'wheel' is not installed.
Installing collected packages: pyzmq, pywin32, ipython-genutils, traitlets, jupyter-core, tornado, six, python-dateutil, jupyter-client, qtpy, pygments, parso, jedi, pickleshare, matplotlib-inline, wcwidth, prompt-toolkit, backcall, colorama, decorator, ipython, ipykernel, qtconsole, pywinpty, terminado, async-generator, zipp, typing-extensions, importlib-metadata, pyrsistent, attrs, jsonschema, nbformat, nest-asyncio, nbclient, pandocfilters, entrypoints, MarkupSafe, jinja2, pyparsing, packaging, webencodings, bleach, jupyterlab-pygments, mistune, defusedxml, testpath, nbconvert, Send2Trash, prometheus-client, pycparser, cffi, argon2-cffi, notebook, widgetsnbextension, jupyterlab-widgets, ipywidgets, jupyter-console, jupyter
  WARNING: The scripts jupyter-migrate.exe, jupyter-troubleshoot.exe and jupyter.exe are installed in 'C:\Users\Administrator\AppData\Roaming\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.
  WARNING: The scripts jupyter-kernel.exe, jupyter-kernelspec.exe and jupyter-run.exe are installed in 'C:\Users\Administrator\AppData\Roaming\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.
  WARNING: The script pygmentize.exe is installed in 'C:\Users\Administrator\AppData\Roaming\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.
  WARNING: The scripts iptest.exe, iptest3.exe, ipython.exe and ipython3.exe are installed in 'C:\Users\Administrator\AppData\Roaming\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 pyrsistent ... done
  WARNING: The script jsonschema.exe is installed in 'C:\Users\Administrator\AppData\Roaming\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.
  WARNING: The script jupyter-trust.exe is installed in 'C:\Users\Administrator\AppData\Roaming\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
  WARNING: The script jupyter-nbconvert.exe is installed in 'C:\Users\Administrator\AppData\Roaming\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.
  WARNING: The scripts jupyter-bundlerextension.exe, jupyter-nbextension.exe, jupyter-notebook.exe and jupyter-serverextension.exe are installed in 'C:\Users\Administrator\AppData\Roaming\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.
  WARNING: The script jupyter-console.exe is installed in 'C:\Users\Administrator\AppData\Roaming\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 MarkupSafe-1.1.1 Send2Trash-1.5.0 argon2-cffi-20.1.0 async-generator-1.10 attrs-20.3.0 backcall-0.2.0 bleach-3.3.0 cffi-1.14.5 colorama-0.4.4 decorator-5.0.7 defusedxml-0.7.1 entrypoints-0.3 importlib-metadata-4.0.1 ipykernel-5.5.4 ipython-7.23.1 ipython-genutils-0.2.0 ipywidgets-7.6.3 jedi-0.18.0 jinja2-2.11.3 jsonschema-3.2.0 jupyter-1.0.0 jupyter-client-6.1.12 jupyter-console-6.4.0 jupyter-core-4.7.1 jupyterlab-pygments-0.1.2 jupyterlab-widgets-1.0.0 matplotlib-inline-0.1.2 mistune-0.8.4 nbclient-0.5.3 nbconvert-6.0.7 nbformat-5.1.3 nest-asyncio-1.5.1 notebook-6.3.0 packaging-20.9 pandocfilters-1.4.3 parso-0.8.2 pickleshare-0.7.5 prometheus-client-0.10.1 prompt-toolkit-3.0.18 pycparser-2.20 pygments-2.9.0 pyparsing-2.4.7 pyrsistent-0.17.3 python-dateutil-2.8.1 pywin32-300 pywinpty-1.0.1 pyzmq-22.0.3 qtconsole-5.1.0 qtpy-1.9.0 six-1.16.0 terminado-0.9.4 testpath-0.4.4 tornado-6.1 traitlets-5.0.5 typing-extensions-3.10.0.0 wcwidth-0.2.5 webencodings-0.5.1 widgetsnbextension-3.5.1 zipp-3.4.1
WARNING: You are using pip version 20.1.1; however, version 21.1.1 is available.
You should consider upgrading via the 'd:\program files (x86)\microsoft visual studio\shared\python37_64\python.exe -m pip install --upgrade pip' command.
PS E:\ADDEV\RTCTRANS\ThinkStats2\thinkplot>


在这里插入图片描述

标签:Collecting,kB,ThinkStats2,Downloading,pip3,whl,py3,none,缺失
来源: https://blog.csdn.net/commshare/article/details/116448254