F
F
f1aky2015-02-16 09:46:29
Python
f1aky, 2015-02-16 09:46:29

Error installing PyQt5, how to fix?

You need to build pyqt5 for python 3. I installed qt5 myself and also the sip model. Started building pyqt5 by running commands

python3 configure.py
make
sudo make install

and made a mistake
make[1]: Вход в каталог `/tmp/PyQt-gpl-5.4/dbus'
install -m 644 -p /tmp/PyQt-gpl-5.4/dbus/pyqt5.so /usr/lib/python3/dist-packages/dbus/mainloop/
make[1]: Выход из каталога `/tmp/PyQt-gpl-5.4/dbus'
install -m 644 -p /tmp/PyQt-gpl-5.4/__init__.py /usr/lib/python3.4/site-packages/PyQt5/
cp -f -R /tmp/PyQt-gpl-5.4/pyuic/uic /usr/lib/python3.4/site-packages/PyQt5/
install -m 755 -p /tmp/PyQt-gpl-5.4/pyuic5 /usr/bin/
strip /usr/bin/pyuic5
strip:/usr/bin/pyuic5: Формат файла не распознан
make: [install_pyuic5] Ошибка 1 (игнорирована)

Help fix.
system ubuntu 14.04 64bit

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
axce1, 2015-02-16
@axce1

actually pyqt5 is already in ubuntu turnips...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question