-
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
Installation headaches on Mac and Windows #51
Comments
Yes. I did a try but always found some problems. If you are interested to work on it, tonight I can check better and send links to what I did. |
Thanks for the update! |
You didn't take any note, did you? I've restarted my work on cibuildwheel, see my cibuildwheel branch. Building wheels for Linux is easy, while Mac and Windows are giving me headaches. Especially Mac, as I don't have a Mac to test and check where files are. I think my current problem with Mac is the path of qmake. If you see the logs of the latest build, there's this error:
This happened with the following options in pyproject.toml:
qmake comes from the homebrew installation. |
Nevermind, on lilypond-user I've been told that the path is Now looking for the poppler-qt5.pc path... |
For the records, currently it's |
......... Hello, All I know this thread is rather long in the tooth, but it is the closest I can find to what I am experiencing. I am getting an error when pip installing python-poppler-qt5 that is somewhat similar to that above. The guts of Python package installation is beyond me, so I am jut hoping someone has some direction to offer. I am installing Frescobaldi and its dependencies in order as described on frescobaldi.org/download. The previous dependency installs ran without incident, but I get the following when I run pip install python-poppler-qt5: C:\Users\tcros>pip install python-poppler-qt5 × Preparing metadata (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. Any insight would be greatly appreciated. VITALS: |
@celticflute To build python-poppler-qt5 from source (which you implicitly do if you use 'pip install', given that there are no prebuilt packages on PyPI at the moment), you need a C++ compilation environment with Qt including its development headers, qmake, and Poppler with its development headers. (Honestly, I have no idea how to do that on Windows, sorry.) |
Hi. I like this package for the functionality it provides, thanks for your work.
TLDR: After some fiddling I was able to use the package and it provides exactly what my app needs.
However installing it required some hacks and I don't know how to reliably install the package on other systems.
Moreover I was unable to use
pyinstaller
to bundle the app.I am developing a PyQt5 app that needs to render PDF pages.
This package provides just what I needed.
My first issue with it was installing it on my system (MacOs 10.15, Python 3.8.2, Qt 5.15.2).
What I did after some trial&error was:
For reasons that are not clear to me to make that work I had to manually link the directory of PyQt5-stubs so that it could be found by python-poppler-qt5.
After that I can run my app and it works perfectly.
I would not know where to start, however, in giving instructions to reliably replicate the installation on other machines.
In the trial and error phase I also managed to get all the error messages mentioned in building/installation issues on this repo, suggesting those are still not addressed.
To make this worse, even after installing the library on my system, I cannot successfully bundle the app with
pyinstaller
. That is, I can produce a bundle but it will crash when the features usingpython-poppler-qt5
are exercised. I am not familiar enough with the internals ofpyinstaller
to really figure out what goes wrong, but maybe it has trouble bundlingpoppler
?Finally, I tried to install
python-poppler-qt5
on Windows, but I am clueless about how to install the dependencies (e.g.poppler
) so that the installation throughpip
works.I guess #42 would help with this?
I am at this point stumped and would appreciate some advice for how to approach the problem.
The text was updated successfully, but these errors were encountered: