-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyQt5 installation error at ENSEEIHT #1
Comments
https://github.com/pyqt/python-qt5/wiki/Compiling-PyQt5-on-Ubuntu-12.04 You need to set the --qmake option. |
I did it first time but I don't know why qmake crashes as soon as it is used a second time. For example here I tried on another pc at ENSEEIHT and as qmake is called many times in the configure.py script at the second it crashes :
|
It's strange that it looks into /home and not in your real home: Could you send the full command line and full output? |
Yes, the
|
And I don't know if it matters but I don't have any file called |
Pierre Gambarotto m'a suggéré d'utiliser proot (/home/gamba/public/prrot.md) dans ton nosave, ça permet de utiliser le gestionnaire de paquets apt pour installer le biblioteques (bof, j'ai pas trop compris comment ça marche...) |
Voui, j'ai passé un bon bout de temps la journée de mardi à me battre avec proot et une installation dans le répertoire nosave. Le problème, c'est que dans cet environnement particulier, OpenGL ne fonctionne plus, et impossible d'installer quoi que ce soit au niveau des drivers sans devoir agir sur le système initial (impossible sans accés root). Bref, du coup, on peut faire fonctionner les scènes QML de façon indépendante via les exécutables fournis par Qt, on peut, sur le nosave, executer des programmes Python utilisant PyQt5; Mais on ne peut pas instancier de vues QML depuis Python avec PyQt5 sans recevoir des belles erreurs de la part d'openGL. Pour l'instant, on développe donc les parties séparemment, et on test sur des ordinateurs personnels. |
I have tried to install PyQt5 in my home with a Python3 virtual environement.
First I setup a virtual env in my nosave directory :
Then I installed sip (needed for PyQt). I needed to change the directory where the SIP header file will be installed with the -e option :
It worked since the following commands in the python interpreter work :
Until now everything went right but at the PyQt5 installation step that is when I have errors.
It returns the following errors :
It seems that that error is due to the Qt5 home installation and I do not find anywhere someone that was blocked by that qmake error. However the Qt5 home installation seems to work (at least partially) since qmlscene works for example.
The text was updated successfully, but these errors were encountered: