-
Notifications
You must be signed in to change notification settings - Fork 412
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
Error during wx installation via pip on linux #2025
Comments
@ForlornWongraven, i tried installing dependencies on my debian rig in venv, and it worked perfectly: https://gist.github.com/DarkFenX/c20b7ac2f9b1676abf6112ceea2f9fa2 Could you provide following info:
|
Sorry for the late reply. I purged my system of a few applications and dnf removed some python3 packages. Now that I had time to check again I also found that pathlib2 was needed to compile wxPython. pyyaml is not installed as system package. |
I do not see any errors in the log. In fact, it does not have any traces of installation of anything - i suppose because you did not install dependencies on a clean system / clean venv. |
I misunderstood your request, sorry. I did set up a new env just to test this again. Here is the log. I highlight this:
|
This is upstream issue wxWidgets/Phoenix#1251. I am unsure if we can do anything about it. Even if I would have added it as entry into requirements.txt as workaround - pip still won't follow order specified in the file and it may pick wxpython before installing pathlib2. |
maybe making 2 requirements files (requirements_1st.txt and requirements_main.txt) could be an option? |
Maybe. But bear in mind that this is linux-specific bug (because only on linux you need to build wx when installing via pip, on other platforms it's provided as precompiled binary). So doing extra file and extra instructions sounds like excessive for me, given: a) it's an upstream bug |
Fair enough, was nothing more then a noob trying to think along with the problem. You make a solid point though |
just as an FYI, if you run |
The linked wxPython issue seems to think this is fixed, but I was of course able to get past it by manually installing |
we're still using 4.0.6. 4.0.7 had several issues with it (which were fixed by 2 or 3 post-releases) and i was waiting until more issues appear, and then just forgot to update. |
I bumped versions of some dependencies, wx included. Please try if it causes any issues on latest master. |
Works perfectly. |
Cool, closing |
See #1861 for details
The text was updated successfully, but these errors were encountered: