Questions tagged [pyqt]

16 questions
11
votes
4 answers

qtpy.PythonQtError: No Qt bindings could be found

I had anaconda running on my machine. few days ago i had to update some of the libraries because they were outdated. after the update, I was not able to launch anaconda-navigator or spyder anymore due to the following error: (base)…
samhar
  • 113
7
votes
3 answers

How to install PyQT4 and what are the practical differences between PyQT4 and PyQT5?

I am about to start developing using PyQT, but there seem to exist two versions. Which one should I go for? Also, I cannot seem to be able to install either, using pip install PyQt4 I get the following error: Downloading/unpacking PyQt4 Could not…
3
votes
4 answers

How to install PyQt on Mac OS X 10.6

I want to install PyQt. This seems kind of complicated to install on OS X. I haven't found any precompiled packages of it (are there any? I would really prefer those). So I downloaded PyQt. And SIP, because it depends on that. These…
Albert
  • 6,889
  • 11
  • 41
  • 53
2
votes
1 answer

PyQt5 - python-3.2 : no module available + pyuic5 cannot find PyQt5.uic module

Trying to install PyQt5, the ''make install'' command ended by issuing a warning related to pyuic5 file format (see bellow) the python path is set as PYTHONPATH=/usr/lib/python3.2/site-packages/PyQt5 When testing I face these issues modules not…
1
vote
3 answers

Building / making PyQt5

I'm trying to build PyQt5 on Ubuntu 14.04; I've downloaded the tarball, unpacked, and run: python configure --sip-incdir /home/chris/sip/sip-4.15.5/siplib make Configure finishes fine (--sip-incdir is where I installed sip), but make does't…
ChrisW
  • 439
1
vote
2 answers

How to install git-cola in cygwin?

This might be a stupid question, however I can't get it working. I know it has been ported. I've found both the sources and the binaries. I've downloaded all the files from here and tried cygwin setup from the download directory. I also extracted…
maaartinus
  • 3,392
  • 8
  • 33
  • 42
1
vote
0 answers

What Should i do to get PyQt4 working on Ubuntu?

Installed python-qt4 and pyqt4-dev-tools packages on ubuntu Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from PyQt4 import QtGui Traceback (most…
san8055
  • 123
1
vote
1 answer

Qt5 .ui to .py conversion. '"C:\Python34\python" 'is not recognized as an internal or external command

I made a small GUI interface in QT Designer (file Login.ui), that I need to convert to a .py extension. I opened up console inside the folder and typed: C:\Users\Roman\Desktop\Python>pyuic5 -x Login.ui -o Login.py Which gave…
1
vote
0 answers

Qt Creator - How to convert .ui file to .py file on Mac?

How do I convert my .ui files generated by Qt Creator to .py files? I used to convert the .ui files to .py files using a .bat file on Windows: @echo off for %%f in (*.ui) do ( echo %%f C:\Python34\Lib\site-packages\PyQt5\pyuic5.bat -x…
1
vote
1 answer

Can't run my pyinstaller made .exe app with PyQt5 on Windows 10?

On Win10 64bit I installed PyQt5_5.4.1 for Python3.4.3. I need 3.4.3 for supporting XP clients and this is the last version that can be installed on XP. PyQt5 installed itself in python3.4.3 folder C:\Python34 and I can see it in PATH…
Hrvoje T
  • 1,959
1
vote
0 answers

Importing QtWidgets in Python on Windows Machine

I just installed PyQt5 in order to run an already written program, and it seemed that the installation was successful. However when I try to import just the module QtWidgets within PyQt5, I receieve an error (See below). Does anybody know what…
0
votes
0 answers

Anki installation issue on Arch Linux

I am trying to install Anki from the AUR. However when I try to build the package, I am told the package failed to build. I have tried installing the package manually, and I have tried using Yay and Paru. On Paru I have tried all 4 versions (anki,…
Tom888
  • 173
0
votes
1 answer

Errors in Anaconda after pip install pyqt5 (or conda update spyder)

In short, I can't open spyder and all the packages (as viewed in Environments) begin with 100. Trying to open spyder throws the following error: Traceback (most recent call last): File "C:\Users\Owner\Anaconda3\Scripts\spyder-script.py", line…
0
votes
2 answers

WIN 10: Python directory is wrong?

I'm not sure how to phrase my problem, and have tried to find similar problems online, but I could not (Perhaps with better phrasing I could, so I am sorry if this is a duplicated question!) Anyhow, I'm trying to run pyuic5 (to test it works). So, I…
Mozza
  • 1
0
votes
1 answer

Create file.desktop on ubuntu for a Qt GUI Script

I have a simple GUI script written in python3 ,Qt5. in folder of project exist an icon folder that are contain icons used in app.I created a app.desktop file in "/usr/share/applications/" : [Desktop…
1
2