Skip to content
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

Unable to install wxPython on OpenSUSE 15.5 in venv - python-config not found. #2532

Open
linxpatrick opened this issue Feb 19, 2024 · 7 comments

Comments

@linxpatrick
Copy link

2024-02-18 wxPython Install Log.txt

OpenSuSE 15.5. The attached file has the output of os-release.

The wxPython for Python 3.6 installs and works in the base OS. The problem is when trying to use Python3.11 in venv. Trying to install wxPython 4.2.1.

Unable to build the wheel for wxPython. The first error I can see is that pip cannot find python-config. I've tried different ways of installing python-config but still doesn't work.

I have attempted to install the dependencies shown for Ubuntu but not sure if they are all installed because I'm using OpenSuSE.

The attached log file has everything I could copy from the terminal window.

Please let me know if you require more information.

I hope to get a step-by-step instruction set for installing wxPython.

@swt2c
Copy link
Collaborator

swt2c commented Feb 19, 2024

You need to install the python-config that corresponds to the Python 3.11 that you installed. Did you install a distribution package? Usually this will be something like python3.11-devel.

@linxpatrick
Copy link
Author

linxpatrick commented Feb 19, 2024 via email

@linxpatrick
Copy link
Author

linxpatrick commented Feb 20, 2024 via email

@swt2c
Copy link
Collaborator

swt2c commented Feb 20, 2024

Now you are seeing #2422.

@linxpatrick
Copy link
Author

linxpatrick commented Feb 20, 2024 via email

@swt2c
Copy link
Collaborator

swt2c commented Feb 20, 2024

There isn't a fix yet, so your options are to use the workaround, fix it yourself, or convince someone else to fix it, and then wait for a release.

@linxpatrick
Copy link
Author

linxpatrick commented Feb 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants