-
16 votesanswersviews
如何在将包提交给PyPI时修复“.pypic中找不到PyPI-test”的问题?
我按照指南How to submit a package to PyPI提交了一个包裹 . 它抛出了以下错误: Traceback (most recent call last): File "setup.py", line 27, in 'Programming Language :: Python', File "/usr... -
1 votesanswersviews
在Windows上升级pysqlite(sqlite3)模块
我正在尝试将我的Windows 7上的内置模块pysqlite(sqlite3)升级到最新版本(目前为2.8.2) . 我的python版本是2.7.10 . 当我在我的cmd控制台上运行pip commend时,我收到以下消息: C:\ WINDOWS \ system32> pip install --upgrade pysqlite收集pysqlite使用缓存的pysqlite-2.... -
0 votesanswersviews
使用easyintall-2.6和easy install-2.7安装ipython有什么区别
我在Mac OS X Lion上安装ipython:How to install iPython on Snow Leopard 正如我在我的Mac上做的那样sudo /usr/bin/easy_install-2.6 python 结果我原本安装了easy_install-2.5,2.6,2.7! 然后我选择easy_install-2.7来安装python,它的工作原理 . 但是如果我用2.5... -
2306 votesanswersviews
如何在Windows上安装pip?
pip是easy_install的替代品 . 但是我应该在Windows上使用 easy_install 安装 pip 吗?有没有更好的办法? -
898 votesanswersviews
为什么使用pip over easy_install? [关闭]
tweet读到: 不要使用easy_install,除非你喜欢刺伤自己的脸 . 使用点子 . 为什么使用pip over easy_install?不是fault lie with PyPI and package authors mostly?如果作者将垃圾源tarball(例如:丢失文件,没有setup.py)上传到PyPI,那么pip和easy_install都将失败 . 除了外观差异,... -
0 votesanswersviews
无法使用pip / easy_install安装任何Linux Mint
我正在使用linux mint并以管理员身份登录 . 我之前使用过pip来安装软件包,但是现在无论我尝试安装什么,我都会遇到这个错误 Exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip-1.5.6-py2.7.egg/pip/basecommand... -
61 votesanswersviews
如何使用Python 's “easy_install” on Windows … it'不是那么容易
在Windows XP上安装Python 2.7之后,然后手动将 %PATH% 设置为 python.exe (为什么python安装程序不会这样做?),然后安装 setuptools 0.6c11 (为什么python安装程序不执行此操作?),然后手动将 %PATH% 设置为 easy_install.exe (安装程序为什么不这样做?),我终于尝试用 easy_install 安装一个pyth... -
1 votesanswersviews
为什么导入时我的Python 2.6自动解压缩鸡蛋文件?
我的印象是Python导入应该自动解压缩site-packages中的egg文件 . 我的安装似乎不想自动解压缩鸡蛋 . 我尝试了什么: (1)我使用easy_install来安装suds模块,它将egg文件复制到site-packages中 . Python无法导入它 . (进口泡沫) (2)然后我使用了--always-unzip选项来easy_install . 这次它给了我一个目录而不... -
0 votesanswersviews
为Python 2.6.2安装easy_install(缺少?)
我不是python用户,我只是想让couchdb-dump启动并运行它并且它在一个“egg”文件中,我想需要easy_install . 我在我的计算机上运行了Python 2.6.2,但它似乎对easy_install或setuptools一无所知......帮助!我该怎么办才能解决这个问题? edit: 您可以在setuptools页面注意到2.3,2.4和2.5的Windows .exe安装... -
14 votesanswersviews
无法使用easy_install来安装Python模块
我正在尝试使用 easy_install 来安装一个名为 requests 的模块 easy_install requests 一周前我使用Python 2.6.5时运行良好,但今天我安装了Python 2.7.2,然后尝试在我的一个脚本中使用 import requests 但它失败了 . 然后我尝试用 easy_install requests 重新安装请求但是出现了这个错误 install... -
1 votesanswersviews
无法使用easy_install或pip在mac上安装
我正在尝试使用easy_install(和pip)安装lxml和pycrypto模块但是收到错误消息 Running lxml-2.3.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kGsWMh/lxml-2.3.4/egg-dist-tmp-Gjqy3f Building lxml version 2.3.4. Building wit... -
424 votesanswersviews
如何在Ubuntu上安装lxml
我在Ubuntu 11上使用easy_install安装lxml时遇到了困难 . 当我输入 $ easy_install lxml 时,我得到: Searching for lxml Reading http://pypi.python.org/simple/lxml/ Reading http://codespeak.net/lxml Best match: lxml 2.3 Downloadi... -
0 votesanswersviews
安装Python和Beautiful Soup的问题
Answer marked below. It was two problems. I was missing a semicolon in the env var path, and the latest Beautiful Soup is incompatible with my python script. Using an older version allowed it to run. ... -
341 votesanswersviews
查找使用easy_install / pip安装的所有软件包?
有没有办法找到所有使用easy_install或pip安装的Python PyPI包?我的意思是,排除使用分发工具安装的所有内容(在本例中为apt-get on Debian) . -
17 votesanswersviews
尝试在OSX上安装easy_install时权限被拒绝
我正在尝试安装easy_install,好吧......亲自看看: sh setuptools-0.6c11-py2.6.egg 处理setuptools-0.6c11-py2.6.egg 将setuptools-0.6c11-py2.6.egg复制到/Library/Python/2.6/site-packages 将setuptools 0.6c11添加到easy-install.pth文件... -
0 votesanswersviews
找不到满足要求easy_install的版本(来自版本:)
Python 2.7.12 pip 8.1.2 ubuntu-16.04 我正在尝试使用以下命令安装 pycurl : pip install pycurl 这就是我得到的, 命令“python setup.py egg_info”失败,错误代码1在/ tmp / pip-build-8EU20I / pycurl / 所以,我尝试更新这样的设置工具: pip install --upg... -
659 votesanswersviews
如何删除使用Python的easy_install安装的软件包?
Python的 easy_install 使安装新包非常方便 . 但是,据我所知,它没有实现依赖项管理器的其他常见功能 - 列出和删除已安装的软件包 . 找出已安装的内容的最佳方法是什么,以及删除已安装软件包的首选方法是什么?如果我手动删除包(例如 rm /usr/local/lib/python2.6/dist-packages/my_installed_pkg.egg 或类似内容),是否需要更...