Seite 1 von 1

easyinstall unter Ubuntu Hardy

Verfasst: Mittwoch 7. Mai 2008, 08:44
von jens
Irgendwie funktioniert [wiki]Easy Install[/wiki] unter Ubuntu Hardy nicht:

Code: Alles auswählen

 sudo easy_install selenium
Searching for selenium
Reading http://pypi.python.org/simple/selenium/
Reading http://www.openqa.org/
Best match: selenium 0.9.2
Downloading http://pypi.python.org/packages/source/s/selenium/selenium-0.9.2.tar.gz#md5=5b5e5bac5586ab90a9f3ee2ab24c9759
Processing selenium-0.9.2.tar.gz
Running selenium-0.9.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kkR-lQ/selenium-0.9.2/egg-dist-tmp-3vuOmr
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c8', 'console_scripts', 'easy_install')()
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 1671, in main
    
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 1659, in with_ei_usage
    
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 1675, in <lambda>
    
  File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 211, in run
    
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 446, in easy_install
    
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 476, in install_item
    
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 655, in install_eggs
    
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 930, in build_and_install
    
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 919, in run_setup
    
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/sandbox.py", line 27, in run_setup
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/sandbox.py", line 63, in run
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/sandbox.py", line 29, in <lambda>
  File "setup.py", line 20, in <module>
ImportError: No module named ez_setup
Ich hab schon versucht die aktuelle http://peak.telecommunity.com/dist/ez_setup.py nochmals mit "sudo python ez_setup.py -U setuptools" auszuführen. Kommt aber wieder zum Fehler von oben...

Verfasst: Mittwoch 7. Mai 2008, 11:09
von Y0Gi
Liegt es an dem von dir zu installierenden Paket oder tritt es auch bei anderen, gängigen Paketen auf?

Hier tut `easy_install` jedenfalls wunderbar unter Hardy.

Hast du setuptools über "sich selbst" oder als Ubuntu-Paket ("python-setuptools" iirc) installiert?

Verfasst: Mittwoch 7. Mai 2008, 11:56
von jens
"python-setuptools" ist installiert...

EDIT: Andere Pakete gehen... Hab "Pygments" installiert bekommen.

Verfasst: Mittwoch 7. Mai 2008, 13:42
von Leonidas
jens hat geschrieben:EDIT: Andere Pakete gehen... Hab "Pygments" installiert bekommen.
Na dann ist das Peket eben broken. Ist bei einigen Sachen so, etwa Roundup. Das unterstützt zwar disutils aber keine setuptools.