pyHook&Co installieren

Hallo

ich habe folgendes Problem. Ich habe mir pyHook und pywin32 oder wie auch immer gedownloadet. Beides sind .whl Dateien. Nur wie installiere ich diese?
Ich komm an dem Punkt nicht mehr weiter an dem ich pip installiert hab also auch das mit dem Path geändert habe.
Was muss ich eingeben? So viel ich weiß irgendetwas mit 'pip install...' oder nicht?

Danke schonmal und LG
 
Du gehst ins Verzeichnis, in dem sich die whl-Datei befinden und gibst für jede Datei das Folgende ein:
Code:
pip install datei.whl

(eventuell musst du die cmd noch als Administrator ausführen oder vorher noch das wheel-Paket installieren mittels "pip install wheel"... - siehe auch hier.)
 
Zuletzt bearbeitet:
Danke schonmal

Nun folgendes Problem.
Ich habe nun 'pip install wheel' installiert.
Jetzt will ich meine whl Dateien installieren und es kommt folgende Fehlermeldung:

Requirement pyHook-1.5.1-cp34-none-win_amd64.whl looks like a filename, but the file does not exist
pyHook-1.5.1-cp34-none-win_amd64.whl is not a supported wheel on this platform.
 
Du versuchst pyHook für Python 3.4 zu installieren, die Fehlermeldung deutet aber darauf hin, dass du eine andere Python Version nutzt. Welche Python-Version nutzt du? 3.4 oder 2.7?
 
Ausgabe pip -v

Code:
pip 7.1.0 from C:\Program Files (x86)\lib\site-packages (python 3.4)


Ausgabe python -V

Code:
Der Befehl ist entweder falsch geschrieben oder konnte nicht gefunden werden
 
Mangels Windows kann ich nur raten. Probier doch mal

Code:
pip install pyhook

oder benenne die Datei um, indem du "win_amd64" durch "all" ersetzt (dirty und fehleranfällig - aber scheint angeblich zu funktionieren...) und dann nochmal versuchst, sie direkt zu installieren.
 
Zuletzt bearbeitet:
Wenn ich win_amd64 durch all ersetzte bekomm ich wieder diese Fehlermeldung:
Code:
Requirement pyHook-1.5.1-cp34-none-win_amd64.whl looks like a filename, but the file does not exist
pyHook-1.5.1-cp34-none-win_amd64.whl is not a supported wheel on this platform.

Auch durch das einfache:
Code:
pip install pyhook
komm ich nicht weiter, dort erscheint folgendes:

Code:
Some externally hosted files were ignored as access to them may be unreliable (use --allow-external pyhook to allow.
No matching distribution found for pyhook
 
Die 64 Bit Version funktioniert bei mir ebenfalls nicht, die 32 Bit Version dagegen funktioniert.

edit:
... was auch kein Wunder ist, wenn man die 32 Bit Version von Python nutzt, die einem auf der Startseite sofort zum Download angeboten wird:

Code:
C:\>pip install pyHook-1.5.1-cp34-none-win32.whl
Processing c:\pyhook-1.5.1-cp34-none-win32.whl
Installing collected packages: pyHook
Successfully installed pyHook-1.5.1

C:\>python
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:43:06) [MSC v.1600 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

Einfach mal testen ;)
 
Zuletzt bearbeitet:
Ich hab langsam keine Lust mehr...:rolleyes:

Ich habe sicher die 32-bit Version von Python 3.4.
Ebenfalls wurde 'pip install wheel' durchgeführt.
Habe nun auch die 'pyHook-1.5.1-cp34-none-win32.whl', gedownloadet da dies ja die 32-bit Version ist, richtig?

Bei 'pip install pyhook':
Code:
  Could not find a version that satisfies the requirement pyhook (from versions:
 )
  Some externally hosted files were ignored as access to them may be unreliable
(use --allow-external pyhook to allow).
No matching distribution found for pyhook

Bei 'pip install pyhook-1.51.....whl:
Code:
Requirement 'pyHook-1.5.1-cp34-none-win32.whl' looks like a filename, but the
 file does not exist
pyHook-1.5.1-cp34-none-win32.whl is not a supported wheel on this platform.
 
Code:
Requirement 'pyHook-1.5.1-cp34-none-win32.whl' looks like a filename, but the file does not exist.

Du bist auch im richtigen Ordner, d.h. in dem Ordner, in dem diese Datei liegt? Diese Meldung habe ich bislang noch nicht erhalten.
 
Zurück
Oben