Questions tagged [easy-install]

EasyInstall is a package manager that provides a standard format to distribute Python programs and libraries. Part of the `setuptools` module.

728 questions
81
votes
6 answers

pip ignores dependency_links in setup.py

I have dependency_links in my setup.py: ... dependency_links = ['http://github.com/robot-republic/python-s3/tarball/master.tar.gz#egg=python-s3'], ... But it doesn't work. However install_requires works fine. Maybe there are another method to set…
syabro
  • 1,857
  • 2
  • 15
  • 30
72
votes
2 answers

stopping setup.py from installing as egg

How do I stop setup.py from installing a package as an egg? Or even better, how do I easy_install from installing a package as an egg? sudo python setup.py install The reason being that PyDev is rather picky about packages in egg format... The…
jldupont
  • 93,734
  • 56
  • 203
  • 318
70
votes
4 answers

The problem with installing PIL using virtualenv or buildout

When I install PIL using easy_install or buildout it installs in such way, that I must do 'import Image', not 'from PIL import Image'. However, if I do "apt-get install python-imaging" or use "pip -E test_pil install PIL", all work fine. Here are…
69
votes
4 answers

virtualenv, mysql-python, pip: anyone know how?

I'm trying to install the mysql bindings in a virtualenv. I'd prefer to use pip or easy_install. pip gives me the following error: File "setup_posix.py", line 24, in mysql_config raise EnvironmentError("%s not found" %…
rz.
  • 19,861
  • 10
  • 54
  • 47
66
votes
3 answers

Why can't easy_install find MySQLdb?

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…
BryanWheelock
  • 12,146
  • 18
  • 64
  • 109
66
votes
14 answers

Adding a module (Specifically pymorph) to Spyder (Python IDE)

I have managed to get spyder installed and functioning on my mac but I want to add in a few modules that it doesn't include by default (mahotas and pymorph). I installed both via easy_install in the terminal and both seemed to install without any…
Daniel
  • 3,344
  • 5
  • 27
  • 35
64
votes
5 answers

How to use Python's "easy_install" on Windows ... it's not so easy

After installing Python 2.7 on Windows XP, then manually setting the %PATH% to python.exe (why won't the python installer do this?), then installing setuptools 0.6c11 (why doesn't the python installer do this?), then manually setting the %PATH% to…
Nick
  • 651
  • 1
  • 5
  • 4
60
votes
7 answers

Why is Python easy_install not working on my Mac?

I have a Mac running Python 2.6. When I try to use easy_install I get this message: /usr/bin/easy_install-2.6:7: UserWarning: Module pkg_resources was already imported from…
Etan
  • 1,000
  • 1
  • 11
  • 14
55
votes
4 answers

Determining version of easy_install/setuptools

I'm trying to install couchapp, which uses easy_install - and is quite explicit in stating a particular version of easy_install/setuptools is needed: 0.6c6. I seem to have easy_install already on my Mac, but there's no command-line arguments to…
pat
  • 16,116
  • 5
  • 40
  • 46
53
votes
4 answers

How can I install various Python libraries in Jython?

I know that I can install Jython with Java and that I can use Jython where I use Python. The Jython shell is working fine. In Jython, how can I install libraries like lxml, Scrappy and BeautifulSoup that I'd normally install via pip or easy_install
Mirage
  • 30,868
  • 62
  • 166
  • 261
50
votes
12 answers

Can pip (or setuptools, distribute etc...) list the license used by each installed package?

I'm trying to audit a Python project with a large number of dependencies and while I can manually look up each project's homepage/license terms, it seems like most OSS packages should already contain the license name and version in their metadata.…
Jacob Rigby
  • 1,323
  • 2
  • 15
  • 20
47
votes
2 answers

Given the name of a Python package, what is the name of the module to import?

Does somebody know the logic behind Python modules names vs the name of the actual package used in easy_install? A few (amongst others) example that seem a bit unlogical to me: We do easy_install mysql-python, but the import is in fact import…
Gerard Yin
  • 1,283
  • 1
  • 12
  • 24
46
votes
2 answers

How do I point easy_install to vcvarsall.bat?

I already have MSVC++ 2010 Express installed, and my vcvarsall.bat file is at C:\Program Files\Microsoft Visual Studio 10.0\VC, which is in my system PATH. When I run easy_install, it can't find vcvarsall.bat. Is there something I need to set in my…
Mike M. Lin
  • 9,992
  • 12
  • 53
  • 62
42
votes
4 answers

pip install test dependencies for tox from setup.py

I made my project with setuptools and I want to test it with tox. I listed dependencies in a variable and added to setup() parameter (tests_require and extras_require). My project needs to install all of the dependencies listed in tests_require to…
item4
  • 785
  • 1
  • 7
  • 11
38
votes
11 answers

How to fix Python Numpy/Pandas installation?

I would like to install Python Pandas library (0.8.1) on Mac OS X 10.6.8. This library needs Numpy>=1.6. I tried this $ sudo easy_install pandas Searching for pandas Reading http://pypi.python.org/simple/pandas/ Reading…
scls
  • 16,591
  • 10
  • 44
  • 55
1
2
3
48 49