2013-11-26 25 views
5

Ich habe Eclipse 3.7 installiert und ich möchte pydev von pydev.org/updates von Hilfe installieren> neue Software installieren, aber ich erhalte immer Fehler:Fehler bei der Installation pydev

An error occurred while collecting items to be installed 
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). 
Problems downloading artifact: osgi.bundle,com.python.pydev,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile6253600369144568995.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile6253600369144568995.jar 
Problems downloading artifact: osgi.bundle,com.python.pydev.analysis,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile571100381995937794.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile571100381995937794.jar 
Problems downloading artifact: osgi.bundle,com.python.pydev.codecompletion,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile7939549393376543178.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile7939549393376543178.jar 
Problems downloading artifact: osgi.bundle,com.python.pydev.debug,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile7919082619115038876.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile7919082619115038876.jar 
Problems downloading artifact: osgi.bundle,com.python.pydev.fastparser,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile5333565376705188952.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile5333565376705188952.jar 
Problems downloading artifact: osgi.bundle,com.python.pydev.refactoring,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile5676238210588307882.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile5676238210588307882.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile4716582641827617890.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile4716582641827617890.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.ast,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile853205344535319189.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile853205344535319189.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.core,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile6242038948772764722.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile6242038948772764722.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.customizations,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile6200571740568092132.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile6200571740568092132.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.debug,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile7348469738343374780.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile7348469738343374780.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.django,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile3577420456810055714.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile3577420456810055714.jar 
Problems downloading artifact: org.eclipse.update.feature,org.python.pydev.feature,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile3341085924253320715.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile3341085924253320715.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.help,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile3845056374345623111.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile3845056374345623111.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.jython,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile6508149376440133601.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile6508149376440133601.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.parser,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile2272439666869250515.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile2272439666869250515.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.refactoring,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile3096660355605659228.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile3096660355605659228.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.shared_core,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile5752308523522565836.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile5752308523522565836.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.shared_interactive_console,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile7961459825015698127.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile7961459825015698127.jar 
Problems downloading artifact: osgi.bundle,org.python.pydev.shared_ui,3.0.0.201311051910. 
Error reading signed content:/tmp/signatureFile448758150516384194.jar 
An error occurred while processing the signatures for the file: /tmp/signatureFile448758150516384194.jar 

Wie kann ich dieses Problem beheben?

Antwort

8

Nicht sicher, ob das das Problem beheben wird, aber eine Problemumgehung Lösung kann sein, deaktivieren Sie "Nur die neuesten Versionen der verfügbaren Software anzeigen" im Dialogfeld Installation, wo Sie die zu installierende Version von PyDev wählen.

Alternativ können Sie PyDev manuell installieren, indem Sie die ZIP-Datei herunterladen und in den Eclipse/DropIns-Ordner extrahieren.

Sie können die neueste Version von PyDev finden Sie hier: http://sourceforge.net/projects/pydev/files/

Die zweite Lösung in der PyDev Handbuch wie erwähnt ist: http://pydev.org/manual_101_install.html

Hoffentlich eine dieser Ansätze wird das Problem behoben. :)

+2

Arbeitete für mich, wenn ich die vorherige Version statt der neuesten (3.0) wählen – Phil

+0

Die manuelle Methode funktionierte für mich - nach der Installation des Schlüssels (nicht sicher, falls erforderlich), entpackte ich einfach die heruntergeladene Datei von SourceForge in die Eclipse/Dropins-Ordner und Eclipse neu gestartet. – FriendFX

+0

Ich habe alle diese auf Mars.1 mit CDT und PyDev viele Male mit wenig Erfolg versucht. Problem möglicherweise zuerst aufgrund der Änderung der Python-Versionen/Ordner und/oder der neuesten Version von pyDev. Doing -clean und das Entfernen von \ workspace \ .metadata \ .plugins \ py * und das Deinstallieren von pyDev-Plugins haben es behoben. Erneutes Installieren des pyDev-Plug-ins von Repo hat es erneut kaputt gemacht. Deinstallieren und installieren über den ersten Link hier funktioniert! Weiß nicht, was ist zwischen Repo und Link/Dropin-Methode anders, aber es funktioniert. – rdtsc

2

Ich hatte Probleme mit der Installation aller Versionen von PyDev ab 3.0 bei der Verwendung von Ubuntu, auch wenn die Zip-Datei auf der PyDev-Website für eine Weile verwendet, aber hier ist die Lösung, um es zum Laufen zu bringen.

Aktuelle Versionen von Eclipse können die PyDev-Installation mithilfe der Eclipse-Installationsfunktion mit "http://pydev.org/updates" abschließen, aber obwohl installiert PyDev wird nichts tun. (Sie können zu Schritt 2 überspringen, wenn Sie in dieser Situation sind) Ältere Versionen von Eclipse zeigen den obigen Fehler. Jedoch können sowohl alte (zumindest so weit zurück wie die Version auf dem Ubuntu Software Center, 3.7.2) als auch neue Versionen PyDev 3.0+ perfekt verwenden, wenn Sie diese Anweisungen befolgen.

Schritt 1:

Gehen Sie auf die (PyDev website) und laden Sie die ZIP-Datei für Pydev 3.0 oder höher.

Navigieren Sie zu ~/.eclipse/org.eclipse.platform_ VERSION/(in Ubuntu, nicht sicher, wo die Eclipse-Ordner in Windows wäre) und erstellen Sie einen Ordner "dropins" genannt. Kopieren Sie den Inhalt der heruntergeladenen Zip-Datei in diesen neuen Ordner.

Schritt 2:

PyDev wird jetzt installiert, aber gewohnt, bis Sie nichts herunterladen Java 7, so dass Sie die folgenden Befehle in ein Terminal eingeben müssen:

sudo add-apt- Repository ppa: webupd8team/java

sudo apt-get update

sudo apt-get oracle-Java7-installer

installieren

sudo apt-get install oracle-Java7-set-default

Wenn Sie Windows verwenden, sollten Sie wahrscheinlich in der Lage sein, nur zum Download und Java 7 von der Oracle-Website installieren und hier zu stoppen.

Schritt 3:

Java 7 wird installiert, aber es ist möglich, dass Eclipse nicht mehr starten. Wenn dies der Fall ist, müssen Sie auf 32-Bit-Systeme die folgende in das Terminal eingeben:

ln -s/usr/lib/jni/libswt- * ~/.swt/lib/linux/x86/

Oder das folgende auf 64-Bit-Systeme:

ln -s/usr/lib/jni/libswt- * ~/.swt/lib/linux/x86_64/

PyDev 3.0+ sollte nun vollständig in Eclipse funktionieren!

0

Die Website pydev gibt als Anforderung an, dass die Version der Eclipse 3,8/4,2 (JUNO) und höher sein sollte.

Ich lief in das gleiche Problem, aktualisierte Eclipse und das Problem verschwand.

Ein beschreibender Bericht des Installers wäre schöner gewesen.