pip

#pip#

已有0人关注此标签

内容分类

Mr8god

eos服务器ubuntu重装系统出现警告问题

请教各位大佬了使用的是阿里云服务器ubuntu 16.04.6重装完系统,他就变这样了意思都懂,但这也未免太滑稽了,咳咳,主要还是看着心烦,有大佬愿意出出主意吗?感谢🙏 DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support 黄字看不清楚,我来附上

王滕滕

请问 这个库在 pip 里面找不到呢?只有一个 dingtalk-sdk,但是这个 sdk 里面并没有 dingtalk.api 呀?

实例:https://open-doc.dingtalk.com/microapp/faquestions/vzbp02 中的 import dingtalk.api 这个库在 pip 里面找不到呢?只有一个 dingtalk-sdk,但是这个 sdk 里面并没有 dingtalk.api 呀?

一码平川MACHEL

pip正在回滚

我有一个pip python 3.x安装问题。我有pip版本19.0.3,但是当我使用pycharm时,它一直说我需要更新pip。 当我检查文件夹时,我可以看到文件夹中有另一个版本的pip pip-10.0.1-py3.7.egg。 我记得在安装python时勾选了在环境路径中添加python的选项。 当我再次尝试更新/安装pip时,我收到了错误消息。 (venv) C:UsersranicPycharmProjectsProjectDatabase>pip help installYou 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. (venv) C:UsersrPycharmProjectsProjectDatabase>python -m pip install --upgrade pipRequirement already up-to-date: pip in c:usersrpycharmprojectsprojectdatabasevenvlibsite-packages (19.0.3)

张移胜

superset尝试连接jdbc+hive//时一直提示加载不了插件

当我使用superset基于sparkSql去访问hive时,连接一直报错如下:Can't load plugin: sqlalchemy.dialects:jdbc.hive,并且已经根据官方文档安装了插件pip install pyhive,网上找了很多,但都没有我能用到的,请问有人跟我遇到一样的问题吗,该怎样解决??

一码平川MACHEL

安装了setuptools但我无法导入它

试图安装pip: user@Ubuntu ~/ $ sudo pip --no-cache-dir install --user -U setuptoolsRequirement already up-to-date: setuptools in /home/coder/.local/lib/python3.5/site-packages (40.6.3)但是当我想要import它时,它就不再导入了。 user@Ubuntu ~/ $ pythonPython 2.7.12 (default, Nov 12 2018, 14:36:49)[GCC 5.4.0 20160609] on linux2Type "help", "copyright", "credits" or "license" for more information. import setuptoolsTraceback (most recent call last): File "", line 1, in ImportError: No module named setuptools

一码平川MACHEL

为什么在Debian上使用pip安装textract失败?

我正在尝试textract在(dockerized)Debian上安装python包: FROM python:2.7RUN apt-get updateRUN apt-get -y upgradeRUN apt-get -y install libevent-dev python-dev libxml2-dev libxslt1-dev antiword unrtf poppler-utils pstotext tesseract-ocr flac ffmpeg lame libmad0 libsox-fmt-mp3 sox libjpeg-dev swigRUN pip install textract但它在最后一步失败了pip install textract。为什么?如何解决这个问题?以下是错误: Building wheels for collected packages: textract, python-pptx, docx2txt, xlrd, EbookLib, pocketsphinx Running setup.py bdist_wheel for textract: started Running setup.py bdist_wheel for textract: finished with status 'done' Stored in directory: /root/.cache/pip/wheels/7b/88/ca/fe02cca616f52ba41e11ee9eff08ca0d8391f3df35e0ede5e2 Running setup.py bdist_wheel for python-pptx: started Running setup.py bdist_wheel for python-pptx: finished with status 'done' Stored in directory: /root/.cache/pip/wheels/14/50/ec/bf4ff7cedffcde6ef29d3154f758a5d65f40427f526cbdb1d5 Running setup.py bdist_wheel for docx2txt: started Running setup.py bdist_wheel for docx2txt: finished with status 'done' Stored in directory: /root/.cache/pip/wheels/a8/a1/2e/61cea06f166c6f6ac4df4d75a409328406bd0d2f8e007592f9 Running setup.py bdist_wheel for xlrd: started Running setup.py bdist_wheel for xlrd: finished with status 'done' Stored in directory: /root/.cache/pip/wheels/f7/2e/62/b4b26f9bc16968996a93dab7a1ec3cf9a1c8ca409114f4fefe Running setup.py bdist_wheel for EbookLib: started Running setup.py bdist_wheel for EbookLib: finished with status 'done' Stored in directory: /root/.cache/pip/wheels/3a/b9/cb/834288199b3b3c6c08441d5780ce4a6cfc161d4c859f28a915 Running setup.py bdist_wheel for pocketsphinx: started Running setup.py bdist_wheel for pocketsphinx: finished with status 'error' Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-rkBOkm/pocketsphinx/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-lmkSIP --python-tag cp27: running bdist_wheel running build_ext building 'sphinxbase._ad' extension swigging swig/sphinxbase/ad.i to swig/sphinxbase/ad_wrap.c swig -python -modern -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -Ideps/sphinxbase/swig -outdir sphinxbase -o swig/sphinxbase/ad_wrap.c swig/sphinxbase/ad.i creating build creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/swig creating build/temp.linux-x86_64-2.7/swig/sphinxbase creating build/temp.linux-x86_64-2.7/deps creating build/temp.linux-x86_64-2.7/deps/sphinxbase creating build/temp.linux-x86_64-2.7/deps/sphinxbase/src creating build/temp.linux-x86_64-2.7/deps/sphinxbase/src/libsphinxad gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -I/usr/local/include/python2.7 -c swig/sphinxbase/ad_wrap.c -o build/temp.linux-x86_64-2.7/swig/sphinxbase/ad_wrap.o -Wno-unused-label -Wno-strict-prototypes -Wno-parentheses -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result -Wno-sign-compare -Wno-misleading-indentation gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -I/usr/local/include/python2.7 -c deps/sphinxbase/src/libsphinxad/ad_pulse.c -o build/temp.linux-x86_64-2.7/deps/sphinxbase/src/libsphinxad/ad_pulse.o -Wno-unused-label -Wno-strict-prototypes -Wno-parentheses -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result -Wno-sign-compare -Wno-misleading-indentation deps/sphinxbase/src/libsphinxad/ad_pulse.c:44:30: fatal error: pulse/pulseaudio.h: No such file or directory #include ^ compilation terminated. error: command 'gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for pocketsphinx Running setup.py clean for pocketsphinxSuccessfully built textract python-pptx docx2txt xlrd EbookLibFailed to build pocketsphinxrequests 2.20.0 has requirement chardet<3.1.0,>=3.0.2, but you'll have chardet 2.3.0 which is incompatible.Installing collected packages: argcomplete, chardet, Pillow, XlsxWriter, python-pptx, docx2txt, beautifulsoup4, xlrd, six, EbookLib, SpeechRecognition, pocketsphinx, textract Found existing installation: chardet 3.0.4 Uninstalling chardet-3.0.4: Successfully uninstalled chardet-3.0.4 Found existing installation: beautifulsoup4 4.6.3 Uninstalling beautifulsoup4-4.6.3: Successfully uninstalled beautifulsoup4-4.6.3 Running setup.py install for pocketsphinx: started Running setup.py install for pocketsphinx: finished with status 'error' Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-rkBOkm/pocketsphinx/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-MiPh8Y/install-record.txt --single-version-externally-managed --compile: running install running build_ext building 'sphinxbase._ad' extension swigging swig/sphinxbase/ad.i to swig/sphinxbase/ad_wrap.c swig -python -modern -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -Ideps/sphinxbase/swig -outdir sphinxbase -o swig/sphinxbase/ad_wrap.c swig/sphinxbase/ad.i creating build creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/swig creating build/temp.linux-x86_64-2.7/swig/sphinxbase creating build/temp.linux-x86_64-2.7/deps creating build/temp.linux-x86_64-2.7/deps/sphinxbase creating build/temp.linux-x86_64-2.7/deps/sphinxbase/src creating build/temp.linux-x86_64-2.7/deps/sphinxbase/src/libsphinxad gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -I/usr/local/include/python2.7 -c swig/sphinxbase/ad_wrap.c -o build/temp.linux-x86_64-2.7/swig/sphinxbase/ad_wrap.o -Wno-unused-label -Wno-strict-prototypes -Wno-parentheses -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result -Wno-sign-compare -Wno-misleading-indentation gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -I/usr/local/include/python2.7 -c deps/sphinxbase/src/libsphinxad/ad_pulse.c -o build/temp.linux-x86_64-2.7/deps/sphinxbase/src/libsphinxad/ad_pulse.o -Wno-unused-label -Wno-strict-prototypes -Wno-parentheses -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result -Wno-sign-compare -Wno-misleading-indentation deps/sphinxbase/src/libsphinxad/ad_pulse.c:44:30: fatal error: pulse/pulseaudio.h: No such file or directory #include <pulse/pulseaudio.h> ^ compilation terminated. error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-rkBOkm/pocketsphinx/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-MiPh8Y/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-rkBOkm/pocketsphinx/ERROR: Service 'baleen' failed to build: The command '/bin/sh -c pip install textract' returned a non-zero code: 1

一码平川MACHEL

模块在Juypter笔记本上出现问题错误

我正在尝试在juypter笔记本上创建一个树形图,但不知何故它无法找到该模块。 我已经用'pip install squarify'在bash中安装了它,并且通过'import squarify'使用python没有任何问题但是当我尝试在juypter笔记本中导入它时如图所示!

1210528854074074

nvidia gpu cloud

有用过英伟达gpu云的镜像的吗?操作系统是ubuntu16.04 怎么下载安装python pip 以及快速安装tensorflow-gpu?

易士联

python3安装sdk成功,但是仍然显示 ImportError: No module named 'aliyunsdkcore'

d:\python\aliyun>python --version Python 3.5.4 d:\python\aliyun>pip install aliyun-python-sdk-core-v3 Collecting aliyun-python-sdk-core-v3 Installing collected packages: aliyun-python-sdk-core-v3 Successfully installed aliyun-python-sdk-core-v3-2.11.0 You are using pip version 18.0, however version 18.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. d:\python\aliyun>python ossSTS客户端.py Traceback (most recent call last): File "ossSTS客户端.py", line 8, in <module> from aliyunsdkcore import client ImportError: No module named 'aliyunsdkcore' python代码 # -*- coding: utf-8 -*- from aliyunsdkcore import client from aliyunsdksts.request.v20150401 import AssumeRoleRequest import json import oss2

风顺一帆

pip install aos-cube 安装问题

按着github里的步骤安装的 前面的都没问题 在用这条命令时出现了问题 , 我用的python版本时2.7.10

sangaj

无法连外网的情况下怎么安装pyodps

由于公司限制,想要不用pip安装pyodps,请教是否有类似whl文件这样安装? 我更希望有那种先下载后上传安装的方式,由于权限原因,我有些东西改不了

summer_x_sun

阿里云Ubuntu 16.04无法建立虚拟环境virtualenv,提示资源不存在

阿里云轻量应用服务器,Ubuntu 16.04系统,pip是最新版本,使用sudo apt install virtualenv成功安装了virtualenv。当用virtualenv venv命令试图新建一个虚拟环境时,报如下错误。我查看了常用的几个pypi镜像的均无simple/pkg-resources/路径,故可以排除是镜像连接的问题。不知有何可能的原因?此问题在阿里云服务器上已出现多次提问列举如下,但均无有效的解决方案。 其它同样的问题有:https://yq.aliyun.com/ask/56175?spm=a2c4e.11163080.searchask.26.2e802ec1iS4C4Bhttps://segmentfault.com/q/1010000008243346http://blog.csdn.net/happycxz/article/details/77527301https://s.amaprd.cc/yunqi/ask/56175 Log输出如下:Running virtualenv with interpreter /usr/bin/python2 New python executable in /root/projects/Blog_mini/venv/bin/python2 Also creating executable in /root/projects/Blog_mini/venv/bin/python Please make sure you remove any previous custom paths from your /root/.pydistutils.cfg file. Installing setuptools, pkg_resources, pip, wheel... Complete output from command /root/projects/Blog_mini/venv/bin/python2 - setuptools pkg_resources pip wheel: Collecting setuptools Downloading http://mirrors.aliyun.com/pypi/packages/43/41/033a273f9a25cb63050a390ee8397acbc7eae2159195d85f06f17e7be45a/setuptools-38.5.1-py2.py3-none-any.whl (489kB) Collecting pkg_resources Exception: Traceback (most recent call last): File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/basecommand.py", line 209, in main status = self.run(options, args) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/commands/install.py", line 328, in run wb.build(autobuilding=True) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/wheel.py", line 748, in build self.requirement_set.prepare_files(self.finder) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 360, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 512, in _prepare_file finder, self.upgrade, require_hashes) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 273, in populate_link self.link = finder.find_requirement(self, upgrade) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 442, in find_requirement all_candidates = self.find_all_candidates(req.name) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 400, in find_all_candidates for page in self._get_pages(url_locations, project_name): File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 545, in _get_pages page = self._get_page(location) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 648, in _get_page return HTMLPage.get_page(link, session=self.session) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 760, in get_page resp.raise_for_status() File "/root/projects/Blog_mini/venv/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/models.py", line 840, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 404 Client Error: Not Found for url: http://mirrors.aliyun.com/pypi/simple/pkg-resources/ ---------------------------------------- ...Installing setuptools, pkg_resources, pip, wheel...done. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module> main() File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main symlink=options.symlink) File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment download=download, File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT) File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /root/projects/Blog_mini/venv/bin/python2 - setuptools pkg_resources pip wheel failed with error code 2

happycc

2018程序员拜年的奇思妙想,涨姿势了

人工智能到来了, 各位大神程序员们,大家拜年都用到了什么技术呢, 这里分享一个 python自动拜年攻略哦。 windows环境 1.pip安装2.python安装3.pycharm4.微信 实现 自动拜年回复 Installing with get-pip.pyTo install pip, securely download get-pip.py. [2] PIP 官网首页 get-pip.py 下载地址 右键另存 Then run the following: 在python 加入环境变量; CMD中 在get-pip.py的保存路径下 执行 get-pip.py python的路径 ,及 python下 pip的路径 都配置进入 成功 pip pip 安装 itchat 包的过程 01 pip 安装 itchat 包的过程 02 成功 代码截图 创建Python文件 比如 newYear.py ,代码内容如下 运行 :cmd 中python newYear.py屏幕出现二维码 微信扫码登陆,实现自动回复 微信登陆成功 测试自动回复成功 自动回复效果 各位快来体验下吧, 感觉很不错哦。 欢迎各位朋友来分享过年您都如何拜年都如何回复山海一般的拜年短信百年中遇到的糗事今年拜年您的新意在哪里 欢迎来支招哦

行者武松

参照AliyunCLI官方文档使用pip安装AliyunCLI时,安装过程中出现类似错误: Failed building wheel for aliyuncli Failed building wheel for colorama 同时,在安装完成后,运行aliyuncli configure等指令的时候,出现错误信息: pkg_resources.DistributionNotFound: jmespath>=0.7.0,<=0.7.1

参照AliyunCLI官方文档使用pip安装AliyunCLI时,安装过程中出现类似错误: Failed building wheel for aliyuncli Failed building wheel for colorama 同时,在安装完成后,运行aliyuncli configure等指令的时候,出现错误信息: pkg_resources.DistributionNotFound: jmespath&gt;=0.7.0,&lt;=0.7.1

水凌

关于 python pip 的错误提示

请问如何处理,大神们

puni

sudo pip install -U --pre pip setuptools wheel 报错 ubuntu 16.04

HTTP error 404 while getting http://mirrors.aliyun.com/pypi/packages/62/64/5161818bd7d574dda208ec8e41307fd661b45ea8d5f6aa7e2dda09fc9b18/setuptools-36.1.1-py2.py3-none-any.whl#md5=077f043de5afec626afd4ba174062064 (from http://mirrors.aliyun.com/pypi/simple/setuptools/) Could not install requirement setuptools from http://mirrors.aliyun.com/pypi/packages/62/64/5161818bd7d574dda208ec8e41307fd661b45ea8d5f6aa7e2dda09fc9b18/setuptools-36.1.1-py2.py3-none-any.whl#md5=077f043de5afec626afd4ba174062064 because of error 404 Client Error: Not Found for url: http://mirrors.aliyun.com/pypi/packages/62/64/5161818bd7d574dda208ec8e41307fd661b45ea8d5f6aa7e2dda09fc9b18/setuptools-36.1.1-py2.py3-none-any.whlCould not install requirement setuptools from http://mirrors.aliyun.com/pypi/packages/62/64/5161818bd7d574dda208ec8e41307fd661b45ea8d5f6aa7e2dda09fc9b18/setuptools-36.1.1-py2.py3-none-any.whl#md5=077f043de5afec626afd4ba174062064 because of HTTP error 404 Client Error: Not Found for url: http://mirrors.aliyun.com/pypi/packages/62/64/5161818bd7d574dda208ec8e41307fd661b45ea8d5f6aa7e2dda09fc9b18/setuptools-36.1.1-py2.py3-none-any.whl for URL http://mirrors.aliyun.com/pypi/packages/62/64/5161818bd7d574dda208ec8e41307fd661b45ea8d5f6aa7e2dda09fc9b18/setuptools-36.1.1-py2.py3-none-any.whl#md5=077f043de5afec626afd4ba174062064 (from http://mirrors.aliyun.com/pypi/simple/setuptools/)

quq

mkvirtualenv创建虚拟环境提示404

root@iZ2ze2b0psb88pn1gzr0brZ:~# mkvirtualenv myenvRunning virtualenv with interpreter /usr/bin/python2New python executable in /root/.virtualenvs/myenv/bin/python2Also creating executable in /root/.virtualenvs/myenv/bin/pythonPlease make sure you remove any previous custom paths from your /root/.pydistutils.cfg file.Installing setuptools, pkg_resources, pip, wheel... Complete output from command /root/.virtualenvs/myenv/bin/python2 - setuptools pkg_resources pip wheel: Collecting setuptools Downloading http://mirrors.aliyun.com/pypi/packages/fc/cb/748dcabb152fbc7eceaf585d052b8bc11cf028b917a7d2343cf1e0c092c3/setuptools-36.0.1-py2.py3-none-any.whl (476kB)Collecting pkg_resourcesException:Traceback (most recent call last): File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/basecommand.py", line 209, in main status = self.run(options, args) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/commands/install.py", line 328, in run wb.build(autobuilding=True) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/wheel.py", line 748, in build self.requirement_set.prepare_files(self.finder) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 360, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 512, in _prepare_file finder, self.upgrade, require_hashes) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 273, in populate_link self.link = finder.find_requirement(self, upgrade) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 442, in find_requirement all_candidates = self.find_all_candidates(req.name) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 400, in find_all_candidates for page in self._get_pages(url_locations, project_name): File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 545, in _get_pages page = self._get_page(location) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 648, in _get_page return HTMLPage.get_page(link, session=self.session) File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 760, in get_page resp.raise_for_status() File "/root/.virtualenvs/myenv/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/models.py", line 840, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 404 Client Error: Not Found for url: http://mirrors.aliyun.com/pypi/simple/pkg-resources/ ...Installing setuptools, pkg_resources, pip, wheel...done.Traceback (most recent call last): File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in main() File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main symlink=options.symlink) File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment download=download, File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT) File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /root/.virtualenvs/myenv/bin/python2 - setuptools pkg_resources pip wheel failed with error code 2

m31

emapreduce集群如何为python安装package

我先为python安装numpy这个package在本地的集群中为python安装package是使用命令:‘pip install numpy’请问在阿里云的emapreduce集群中如何安装?在python2.6文件夹下没有找到pip这个程序。

micbay

服务器使用pip安装的时候Cannot fetch index base URL https://pypi.python.org/simple/

Cannot fetch index base URL https://pypi.python.org/simple/Could not find any downloads that satisfy the 不管装什么都这样!!!!