pip installation funktioniert beim zweiten mal nicht mehr

Wenn du dir nicht sicher bist, in welchem der anderen Foren du die Frage stellen sollst, dann bist du hier im Forum für allgemeine Fragen sicher richtig.
Antworten
Benutzeravatar
martinjo
User
Beiträge: 186
Registriert: Dienstag 14. Juni 2011, 20:03

Hallo,

ich habe gerade etwas mit dem ebaysdk gespielt. Leider ist dass hardcodiert nur für die US-eBay-Site und so habe ich ein wenig die Datei "/usr/local/lib/python2.7/dist-packages/ebaysdk/__init__.py" verändert. Irgendwann ging nicht mehr und ich wollte das Paket entfernen und neu installieren - bekomme ich leider nicht hin xD

Installiert mit: "sudo pip install ebaysdk"

Entfernt mit: "sudo pip uninstall ebaysdk"

Das Verzeichnis ist nun auch weg, eine erneute Installation funktioniert jedoch nicht mehr. Die Datei auf dem Server hat sich jedoch nicht verändert: http://pypi.python.org/pypi/ebaysdk/
martinjo@blackbox:~$ sudo pip install ebaysdk
Downloading/unpacking ebaysdk
Downloading ebaysdk-0.1.6.macosx-10.3-fat.tar.gz
Running setup.py egg_info for package ebaysdk
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/home/martinjo/build/ebaysdk/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory: '/home/martinjo/build/ebaysdk/setup.py'

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /home/martinjo/.pip/pip.log
Warum da jetzt was mit "macosx" in " Downloading ebaysdk-0.1.6.macosx-10.3-fat.tar.gz" steht begreife ich auch nicht und kann auch nicht sagen ob dass beim ersten mal schon so war.

Vllt. kann mir ja da jemand auf die Sprünge helfen oder mal testen ob dass auch bei anderen auftritt. Ich verwende Ubuntu 12.04.
Benutzeravatar
sparrow
User
Beiträge: 4193
Registriert: Freitag 17. April 2009, 10:28

Was sagt denn das Logfile: /home/martinjo/.pip/pip.log ?
Benutzeravatar
martinjo
User
Beiträge: 186
Registriert: Dienstag 14. Juni 2011, 20:03

Sorry, ganz vergessen. Dort steht nun auch, dass Dateien nicht heruntergeladen werden konnten, heute übrigens noch immer nicht:

Code: Alles auswählen

------------------------------------------------------------
/usr/bin/pip run on Thu Jul 19 23:44:31 2012
Downloading/unpacking ebaysdk
  Getting page http://pypi.python.org/simple/ebaysdk
  URLs to search for versions for ebaysdk:
  * http://pypi.python.org/simple/ebaysdk/
  Getting page http://code.google.com/p/ebay-sdk-python/
  Getting page http://ebay-sdk-python.googlecode.com/files/
  Could not fetch URL http://ebay-sdk-python.googlecode.com/files/ (from http://pypi.python.org/simple/ebaysdk/): HTTP Error 404: Not Found
  Will skip URL http://ebay-sdk-python.googlecode.com/files/ when looking for download links for ebaysdk
  Analyzing links from page http://pypi.python.org/simple/ebaysdk/
    Skipping link http://pypi.python.org/packages/any/e/ebaysdk/ebaysdk-0.1.1.macosx-10.3-fat.exe#md5=c4bdf02224675da951472051a167e172 (from http://pypi.python.org/simple/ebaysdk/); unknown archive format: .exe
    Found link http://pypi.python.org/packages/source/e/ebaysdk/ebaysdk-0.1.3.tar.gz#md5=5b38e22866e49334fddd5b6e3bf234d2 (from http://pypi.python.org/simple/ebaysdk/), version: 0.1.3
    Skipping link http://pypi.python.org/packages/any/e/ebaysdk/ebaysdk-0.1.2.macosx-10.3-fat.exe#md5=b828d9ec70a157a8df78636b7777857d (from http://pypi.python.org/simple/ebaysdk/); unknown archive format: .exe
    Found link http://pypi.python.org/packages/source/e/ebaysdk/ebaysdk-0.1.1.tar.gz#md5=6bd0180e95c54bc2585ba98ef5484bf1 (from http://pypi.python.org/simple/ebaysdk/), version: 0.1.1
    Found link http://pypi.python.org/packages/source/e/ebaysdk/ebaysdk-0.0.2.tar.gz#md5=b034b11808ff67f1a46fff694919a36d (from http://pypi.python.org/simple/ebaysdk/), version: 0.0.2
    Skipping link http://pypi.python.org/packages/2.7/e/ebaysdk/ebaysdk-0.1.0-py2.7.egg#md5=8c06d4ab701f697f2be824f1509963f3 (from http://pypi.python.org/simple/ebaysdk/); unknown archive format: .egg
    Found link http://pypi.python.org/packages/source/e/ebaysdk/ebaysdk-0.0.1.tar.gz#md5=3cec436bd17dc8ed44b2bfd03ae45532 (from http://pypi.python.org/simple/ebaysdk/), version: 0.0.1
    Skipping link http://pypi.python.org/packages/any/e/ebaysdk/ebaysdk-0.1.0.macosx-10.3-fat.exe#md5=f32be78f7fc02ef9c7a3df9f0edb944b (from http://pypi.python.org/simple/ebaysdk/); unknown archive format: .exe
    Skipping link http://pypi.python.org/packages/2.7/e/ebaysdk/ebaysdk-0.1.1-py2.7.egg#md5=c467a2f2792d702d8c3254536351c65a (from http://pypi.python.org/simple/ebaysdk/); unknown archive format: .egg
    Skipping link http://pypi.python.org/packages/any/e/ebaysdk/ebaysdk-0.1.3.macosx-10.3-fat.exe#md5=2655270ad306b8897b4b4f5a9d42ee25 (from http://pypi.python.org/simple/ebaysdk/); unknown archive format: .exe
    Found link http://pypi.python.org/packages/source/e/ebaysdk/ebaysdk-0.1.0.tar.gz#md5=0b79858ec65f9a688f1ad6bf222459f8 (from http://pypi.python.org/simple/ebaysdk/), version: 0.1.0
    Skipping link http://pypi.python.org/packages/2.7/e/ebaysdk/ebaysdk-0.1.2-py2.7.egg#md5=81215465487fd68d0adf2a54fc3d259b (from http://pypi.python.org/simple/ebaysdk/); unknown archive format: .egg
    Found link http://pypi.python.org/packages/source/e/ebaysdk/ebaysdk-0.0.3.tar.gz#md5=91a1ad50c3d0eb83074ceb94db4b5867 (from http://pypi.python.org/simple/ebaysdk/), version: 0.0.3
    Found link http://pypi.python.org/packages/source/e/ebaysdk/ebaysdk-0.1.6.tar.gz#md5=00173a48dda8d9191bc2883caa7f7ccd (from http://pypi.python.org/simple/ebaysdk/), version: 0.1.6
    Skipping link http://pypi.python.org/packages/2.7/e/ebaysdk/ebaysdk-0.1.3-py2.7.egg#md5=37df8648cc1928b2d4ed927891221990 (from http://pypi.python.org/simple/ebaysdk/); unknown archive format: .egg
    Found link http://pypi.python.org/packages/source/e/ebaysdk/ebaysdk-0.1.2.tar.gz#md5=1ca25f6abfbb113d00377307dec94c54 (from http://pypi.python.org/simple/ebaysdk/), version: 0.1.2
    Found link http://pypi.python.org/packages/any/e/ebaysdk/ebaysdk-0.1.6.macosx-10.3-fat.tar.gz#md5=0c9f1964f9c67862a2e94a5e36ffadf1 (from http://pypi.python.org/simple/ebaysdk/), version: 0.1.6.macosx-10.3-fat
    Skipping link http://code.google.com/p/ebay-sdk-python/ (from http://pypi.python.org/simple/ebaysdk/); not a file
    Skipping link http://ebay-sdk-python.googlecode.com/files/ (from http://pypi.python.org/simple/ebaysdk/); not a file
  Analyzing links from page http://code.google.com/p/ebay-sdk-python/
    Skipping link http://www.gstatic.com/codesite/ph/images/phosting.ico (from http://code.google.com/p/ebay-sdk-python/); unknown archive format: .ico
    Skipping link http://www.gstatic.com/codesite/ph/13293733053503680815/css/core.css (from http://code.google.com/p/ebay-sdk-python/); unknown archive format: .css
    Skipping link http://www.gstatic.com/codesite/ph/13293733053503680815/css/ph_detail.css (from http://code.google.com/p/ebay-sdk-python/); unknown archive format: .css
    Skipping link http://www.gstatic.com/codesite/ph/13293733053503680815/css/d_ie.css (from http://code.google.com/p/ebay-sdk-python/); unknown archive format: .css
    Skipping link https://www.google.com/accounts/ServiceLogin?service=code&ltmpl=phosting&continue=http%3A%2F%2Fcode.google.com%2Fp%2Febay-sdk-python%2F&followup=http%3A%2F%2Fcode.google.com%2Fp%2Febay-sdk-python%2F (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://www.firefox.com (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://www.google.com/chrome (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/chrome/chromeframe/ (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/p/ebay-sdk-python (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/p/ebay-sdk-python/w/list (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/p/ebay-sdk-python/people/list (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/p/ebay-sdk-python/feeds (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://dev.perl.org/licenses/ (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/hosting/search?q=label:ebay (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/hosting/search?q=label:python (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/hosting/search?q=label:api (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/hosting/search?q=label:sdk (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/u/111677504560004117925/ (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/u/100366193694218264665/ (from http://code.google.com/p/ebay-sdk-python/); not a file
    Found link http://ebay-sdk-python.googlecode.com/files/ebaysdk-0.0.3.tar.gz (from http://code.google.com/p/ebay-sdk-python/), version: 0.0.3
    Skipping link http://code.google.com/p/ebay-sdk-python/downloads/detail?name=ebaysdk-0.0.3.tar.gz (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/p/ebay-sdk-python/downloads/list (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link https://github.com/timotheus/ebaysdk-python (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/p/ebay-sdk-python/#THIS_REPO_HAS_MOVED_TO_GITHUB (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://developer.ebay.com (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/p/ebay-sdk-python/#Finding_Services (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/projecthosting/terms.html (from http://code.google.com/p/ebay-sdk-python/); unknown archive format: .html
    Skipping link http://www.google.com/privacy.html (from http://code.google.com/p/ebay-sdk-python/); unknown archive format: .html
    Skipping link http://code.google.com/p/support/ (from http://code.google.com/p/ebay-sdk-python/); not a file
    Skipping link http://code.google.com/projecthosting/ (from http://code.google.com/p/ebay-sdk-python/); not a file
  Using version 0.1.6.macosx-10.3-fat (newest of versions: 0.1.6.macosx-10.3-fat, 0.1.6, 0.1.3, 0.1.2, 0.1.1, 0.1.0, 0.0.3, 0.0.3, 0.0.2, 0.0.1)
  Downloading ebaysdk-0.1.6.macosx-10.3-fat.tar.gz
  Downloading from URL http://pypi.python.org/packages/any/e/ebaysdk/ebaysdk-0.1.6.macosx-10.3-fat.tar.gz#md5=0c9f1964f9c67862a2e94a5e36ffadf1 (from http://pypi.python.org/simple/ebaysdk/)
  Running setup.py egg_info for package ebaysdk
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
    IOError: [Errno 2] No such file or directory: '/home/martinjo/build/ebaysdk/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory: '/home/martinjo/build/ebaysdk/setup.py'

----------------------------------------
Command python setup.py egg_info failed with error code 1
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main
    self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 223, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 980, in prepare_files
    req_to_install.run_egg_info()
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 216, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 255, in call_subprocess
    % (command_desc, proc.returncode))
InstallationError: Command python setup.py egg_info failed with error code 1
deets

Check das Ding doch einfach mal aus aus dem github repo oder wo immer es liegt, und ruf darin "sudo python setup.py install" auf - du *musst* pip ja nicht verwenden.
Antworten