-
Notifications
You must be signed in to change notification settings - Fork 32
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
Failed to install on Python 3.11 on Windows 10 #58
Comments
Is |
Tbh, I have no idea. I installed PyQt5 from Pycharm(not in terminal via pip install) and I'm confused about all the Qt, PyQt5 or Qt5. I've installed PyQt5, PyQt5-Qt, PyQt5-Qt5 and PyQt5-sip, not sure which contains qmake |
qmake is provided by Qt5, not by PyQt5. Well, at least in Linux. Searching a file in the file manager should be pretty easy... |
Somehow Chocolatey doesn't work for me, so I tried the Qt installer from their website and finally got qmake.exe. However it doesn't help and I still got this same error message. |
Can you paste here the content of your PATH variable? In the command prompt:
|
C:\Windows\system32; |
I'm now doing a test on a Windows laptop, using Git Bash as terminal. The first step is make sure you can run qmake:
Then I think you have to install pkgcofig and add a path to poppler-qt5.pc to an environment variable:
Now my problem is installing Poppler for Windows. Did you install Poppler? It should contain the poppler-qt5.pc file needed to run the build. |
There are Windows binaries here: but they are missing the poppler-qt5.pc file. In Library/lib/pkgconfig there are only poppler.pc, poppler-cpp.pc and poppler-glib.pc. I'm looking in 21.08 binary files. The sources do not contain that file, as I think it's generated during the build from poppler-qt5.pc.cmake. I found a CYGWIN package but it's old and unmaintained: |
For the records, here's the error I currently get on Windows. As stated above, the problem is the missing poppler-qt5.pc file.
|
Well, I found this: but again, it's very old... what a mess is WIndows |
I'm glad to say that I managed to install poppler and poppler-qt via conda-forge packages using a Miniconda installation.
Now I get a different error:
|
I forgot to write that I'm doing 'pip install --user .' from the local git repository (current master). The RecursionError occurs both using the standard python installation (version 3.11.1) in the command prompt and the Conda python installation (3.10.8) in the Anaconda prompt. |
Closing, as this seems to be entirely about trouble with installing the dependencies, and we already have issue #42 to track the desire of not requiring end users to install the dependencies. |
all other modules were up-to-date including pip
The text was updated successfully, but these errors were encountered: