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.

730 questions
86
votes
3 answers

Install particular version with easy_install

I'm trying to install lxml. I've had a look at the website, and version 2.2.8 looked reasonable to me but when I did easy_install lxml, it installed version 2.3.beta1 which is not really what I want I presume. What is the best way to fix this and…
dr jerry
  • 8,982
  • 21
  • 70
  • 112
74
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,737
  • 2
  • 14
  • 29
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…
68
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.
  • 18,901
  • 10
  • 51
  • 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
  • 11,386
  • 18
  • 60
  • 101
65
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
  • 82,560
  • 49
  • 190
  • 305
62
votes
6 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
  • 631
  • 1
  • 5
  • 4
59
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
  • 970
  • 1
  • 11
  • 14
53
votes
12 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
  • 2,849
  • 4
  • 24
  • 33
50
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
  • 28,544
  • 56
  • 155
  • 251
45
votes
1 answer

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,732
  • 12
  • 51
  • 60
45
votes
3 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
  • 15,596
  • 4
  • 35
  • 44
38
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,173
  • 11
  • 23
34
votes
11 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,123
  • 2
  • 13
  • 20
33
votes
10 answers

How to install virtualenv without using sudo?

I have easy_install and pip. I had many errors on my Linux Mint 12, I just re-installed it and I want to install everything from scratch again. This is one of the errors that I had. I received an interesting answer there: Stop using su and sudo to…
Lynob
  • 4,069
  • 12
  • 47
  • 98
1
2
3
48 49