YYDJ

YJSTSXL

No module named pip

原来写的一个脚本使用python2.7写的,现在转换成python3.6的,发现python 3.6下没有装pip,执行“python3 -m ensurepip"后OK

C:\Python36\python3.exe: No module named pip
PS F:\for_project\python\bom> python3 -m pip install xlrd
C:\Python36\python3.exe: No module named pip
PS F:\for_project\python\bom> python3 -m ensurepip
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Successfully installed pip-9.0.1 setuptools-28.8.0
PS F:\for_project\python\bom> py -3 -m pip install xlrd
Collecting xlrd
  Downloading https://files.pythonhosted.org/packages/07/e6/e95c4eec6221bfd8528bcc4ea252a850bffcc4be88ebc367e23a1a84b0bb/xlrd-1.1.0-py2.py3-none-any.whl (108kB)
    100% |████████████████████████████████| 112kB 129kB/s
Installing collected packages: xlrd
Successfully installed xlrd-1.1.0
You are using pip version 9.0.1, however version 10.0.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

阅读更多
文章标签: pip python
上一篇CST studio suite 2016破解过程
下一篇文件夹同步 python
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭