PyQt4 installation error venv

Probleme bei der Installation?
Antworten
Pygoscelis papua
User
Beiträge: 206
Registriert: Freitag 13. März 2015, 18:36

Ich wollte PyQt4 in einem virtualenv installieren und bekomme folgenden fehler ausgegeben:

Code: Alles auswählen

$venv/bin/pip3 install PyQt4
Collecting PyQt4
  Could not find a version that satisfies the requirement PyQt4 (from versions: )
No matching distribution found for PyQt4
Danach habe ich geschaut, ob es das Paket überhaupt gibt, PyQt5 ist schon installiert:

Code: Alles auswählen

$venv/bin/pip3 search PyQt4|grep ^PyQt4                                                                                
PyQt4_windows_whl (4.11.4.1)                  - Python bindings for the Qt cross platform GUI toolkit
PyQt4 (4.11.4)                                - Python bindings for the Qt cross platform GUI toolkit
Kann mir jemand sagen wo das Problem liegt? Geht PyQt4 nicht zugleich mit PyQt5?

EDIT:
Ich habe es jetzt hinbekommen, indem ich

Code: Alles auswählen

$cp /usr/lib/python3.4/site-packages/PyQt4 venv/lib/site-packages/
verwendet habe, aber es muss doch eigentlich auch über pip3 gehen oder nicht?
import this
hidden python features

JAVA = Just Another Vulnerability Announcement :D
Antworten