Setuptools的官方页面Easily download, build, install, upgrade, and uninstall Python packages它是一个对python的包进行安装,升级,卸载的模块(包)python2.x:wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo pythonpython3.xwget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python3.4若是你在没有安装该模块的前提下,安装别的包,会出错提示:ImportError: No module named setuptools原文:http://my.os...
每次重装ubuntu系统后想安装setuptools都是百度打开python官网去找,麻烦,这里记录一下。也便于安装最新版的1) 安装setuptools 从https://pypi.python.org/pypi/setuptools/#id1中找到Unix版本, 可以找到ez_setup.py的下载链接https://bootstrap.pypa.io/ez_setup.py,右键保存即可。 然后运行ez_setup.py文件即可安装2) 使用setuptools安装模块 sudo easy_install package-name3)使用setuptools卸载模块 sudo...
Setuptools的官方页面Easily download, build, install, upgrade, and uninstall Python packages它是一个对python的包进行安装,升级,卸载的模块(包)python2.x: wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo pythonpython3.xwget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python3.4若是你在没有安装该模块的前提下,安装别的包,会出错提示:ImportError: No module named setuptools原文:http://www...
Ubuntu下使用virtualenv创建环境遇到“setuptools pkg_resources pip wheel failed with error code 2”的问题解决方案
安装virtualenv遇到问题解决方案更换Ubuntu下载源
安装virtualenv
Ubuntu下Ctrl+Alt+T打开terminal然后输入
sudo apt-get install python3-pip python3-dev python-virtualenv安装virtualenv工具,然后创建环境。
virtualenv -p python3 –system-site-packages env3表示用virtualenv创建一个python3环境的基于...
使用pip install TA-Lib 时报错: ERROR: Complete output from command /usr/bin/python3 -u -c import setuptools, tokenize;__file__=""/tmp/pip-install-afeznd8w/TA-Lib/setup.py"";f=getattr(tokenize, ""open"", open)(__file__);code=f.read().replace(""\r\n"", ""\n"");f.close();exec(compile(code, __file__, ""exec"")) bdist_wheel -d /tmp/pip-wheel-q0lugo3l --python-tag cp35:ERROR: /tmp/pip-install-afeznd8w/...