easy-install

Why can't easy_install find MySQLdb?

社会主义新天地 提交于 2019-12-03 02:04:10
问题 This is what I tried: $ easy_install-2.6 -d /home/user/lib/python2.6 MySQLdb Searching for MySQLdb Reading http://pypi.python.org/simple/MySQLdb/ Couldn't find index page for 'MySQLdb' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for MySQLdb error: Could not find suitable distribution for Requirement.parse('MySQLdb') 回答1: You have the wrong package name. MySQL-python is the right one

How to install easy_install in Python 2.7.1 on Windows 7

跟風遠走 提交于 2019-12-03 01:58:19
问题 I have installed Python 2.7.1 on Windows 7, but I am unable to install easy_install. Please help me. 回答1: I usually just run ez_setup.py. IIRC, that works fine, at least with UAC off. It also creates an easy_install executable in your Python\scripts subdirectory, which should be in your PATH. UPDATE: I highly recommend not to bother with easy_install anymore! Jump right to pip, it's better in every regard! Installation is just as simple: from the installation instructions page, you can

pip broken after upgrading

大城市里の小女人 提交于 2019-12-03 01:10:14
I did pip install -U easyinstall, and then pip install -U pip to upgrade my pip. However, I get this error now when trying to use pip: root@d8fb98fc3a66:/# which pip /usr/local/bin/pip root@d8fb98fc3a66:/# pip bash: /usr/bin/pip: No such file or directory This is on an ubuntu 12.04 in a docker image. One reason can be remembed locations. You can clear the cached locations by issuing following command: hash -r SIDENOTE: Instead of which , using type command, you can see the hashed location: $ type pip pip is /usr/local/bin/pip $ pip -V pip 1.5.6 from /usr/local/lib/python2.7/dist-packages

How do I use easy_install and buildout when pypi is down?

不打扰是莪最后的温柔 提交于 2019-12-02 19:27:46
I am using buildout to automatically download and setup the many dependencies of my Plone installation. buildout more or less uses easy_install to download and install a bunch of Python eggs. This usually works, but it doesn't work if any of the dependencies cannot be downloaded or if I want buildout to find an internal package not appropriate for pypi. How can I set up my own local version of pypi to automatically mirror the packages I need? Will it still depend on third-party servers for packages that use pypi for their metadata but not their code? Here are instructions on how to setup your

Installing easy_install… to get to installing lxml

给你一囗甜甜゛ 提交于 2019-12-02 18:09:35
I've come to grips with the fact that ElementTree isn't going to do what I want it to do. I've checked out the documentation for lxml, and it appears that it will serve my purposes. To get lxml, I need to get easy_install. So I downloaded it from here , and put it in /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ . Then I went to that folder, and ran sh setuptools-0.6c11-py2.6.egg . That installed successfully. Then I got excited because I thought the whole point of easy_install was that I could then just install via easy_install lxml, and lxml would magically

How to install easy_install in Python 2.7.1 on Windows 7

微笑、不失礼 提交于 2019-12-02 15:34:36
I have installed Python 2.7.1 on Windows 7, but I am unable to install easy_install. Please help me. I usually just run ez_setup.py . IIRC, that works fine, at least with UAC off. It also creates an easy_install executable in your Python\scripts subdirectory, which should be in your PATH. UPDATE: I highly recommend not to bother with easy_install anymore! Jump right to pip, it's better in every regard! Installation is just as simple: from the installation instructions page, you can download get-pip.py and run it. Works just like the ez_setup.py mentioned above. for 32-bit Python, the installer

Jython easy_install error

我们两清 提交于 2019-12-02 15:01:30
问题 My purpose to add some python libraries to jython i.e suds package To do this tried to follow the instruction from http://www.jython.org/jythonbook/en/1.0/appendixA.html#setuptools and also checked; How can I install various Python libraries in Jython? Installed Jython 2.5.2 and added JYTHON_HOME=C:\jyhon252 to environment variables and %JYTHON_HOME%\bin to path jython is working fine. As second step tried to install easy_install on top of Jython 2.5.2 got ez_setup.py from; http://peak

pip installing data files to the wrong place

橙三吉。 提交于 2019-12-01 17:45:55
The source for the package is here I'm installing the package from the index via: easy_install hackertray pip install hackertray easy_install installs images/hacker-tray.png to the following folder: /usr/local/lib/python2.7/dist-packages/hackertray-1.8-py2.7.egg/images/ While, pip installs it to: /usr/local/images/ My setup.py is as follows: from setuptools import setup setup(name='hackertray', version='1.8', description='Hacker News app that sits in your System Tray', packages=['hackertray'], data_files=[('images', ['images/hacker-tray.png'])]) My MANIFEST file is: include images/hacker-tray

Error importing BeautifulSoup - Conflict with Python version

不问归期 提交于 2019-12-01 14:44:43
I installed BeautifulSoup with the command: sudo easy_install BeautifulSoup4 I got the message: Searching for BeautifulSoup4 Best match: beautifulsoup4 4.1.3 Processing beautifulsoup4-4.1.3-py2.6.egg beautifulsoup4 4.1.3 is already the active version in easy-install.pth Using /Library/Python/2.6/site-packages/beautifulsoup4-4.1.3-py2.6.egg Processing dependencies for BeautifulSoup4 Finished processing dependencies for BeautifulSoup4 I'm trying to import the BeautifulSoup lib. >>> from BeautifulSoup import BeautifulSoup Traceback (most recent call last): File "<stdin>", line 1, in <module>

python using easy_install ImportError: No module named _md5

六月ゝ 毕业季﹏ 提交于 2019-12-01 12:34:51
问题 I searched a lot and did not find any answer to this problem =( I have a CentOS 5 as a server, following this How To: http://wiki.osqa.net/display/docs/RHEL%2C+CentOS+5+Installation+Guide#RHEL%2CCentOS5InstallationGuide-Python I'm able to install python 2.6 separated from the yum version. But when I run ./easy_install ElementTree I get this strange error: Traceback (most recent call last): File "./easy_install", line 9, in <module> load_entry_point('distribute==0.6.14', 'console_scripts',