Open linxpatrick opened 2 months ago
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
.
There is a python311-devel in the OpenSuSE repository so I installed it along with a couple other modules. Still didn't compile but it got pas the python-config issue. Thank you. I will work on this some more to see if I can get it to compile the rest of the way.
/Patrick Headley/ Linx Consulting, Inc. (303) 916-5522 @.*** www.linxco-inc.com
On 2/18/24 7:20 PM, Scott Talbert wrote:
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|.
— Reply to this email directly, view it on GitHub https://github.com/wxWidgets/Phoenix/issues/2532#issuecomment-1951581681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFS7VOTI7OMMULBYZFLFRT3YUKZFLAVCNFSM6AAAAABDOR7XSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRGU4DCNRYGE. You are receiving this because you authored the thread.Message ID: @.***>
Scott,
Adding the 3.11 version of python-config made a difference but there is still a problem with wx/setup.h. I've see several articles on the Internet about this issue but don't understand what I reading.
I have attached the log entries that were emitted to the terminal starting with what I believe will be helpful. Please let me know if more is needed.
/Patrick Headley/ Linx Consulting, Inc. (303) 916-5522 @.*** www.linxco-inc.com
On 2/18/24 7:20 PM, Scott Talbert wrote:
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|.
— Reply to this email directly, view it on GitHub https://github.com/wxWidgets/Phoenix/issues/2532#issuecomment-1951581681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFS7VOTI7OMMULBYZFLFRT3YUKZFLAVCNFSM6AAAAABDOR7XSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRGU4DCNRYGE. You are receiving this because you authored the thread.Message ID: @.***>
Checking for /tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2/bin/waf-2.0.24...
"/home/INT/pheadley/passwords/bin/python3.11" /tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2/bin/waf-2.0.24 --wx_config=/tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2/build/wxbld/gtk3/wx-config --gtk3 --python="/home/INT/pheadley/passwords/bin/python3.11" --out=build/waf/3.11/gtk3 configure build
Setting top to : /tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2
Setting out to : /tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2/build/waf/3.11/gtk3
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking for program 'python' : /home/INT/pheadley/passwords/bin/python3.11
Checking for python version >= 3.7.0 : 3.11.5
python-config : /usr/bin/python3.11-config
Asking python-config for pyext '--cflags --libs --ldflags' flags : yes
Testing pyext configuration : yes
Finding libs for WX : yes
Finding libs for WXADV : yes
Finding libs for WXSTC : yes
Finding libs for WXHTML : yes
WARNING: Unable to find setup.h in /tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2/build/wxbld/gtk3/lib64/wx/include/gtk3-unicode-3.2, assuming wxUSE_GLCANVAS is not available.
Finding libs for WXGL : yes
WARNING: Unable to find setup.h in /tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2/build/wxbld/gtk3/lib64/wx/include/gtk3-unicode-3.2, assuming wxUSE_WEBVIEW is not available.
Finding libs for WXWEBVIEW : yes
Finding libs for WXXML : yes
Finding libs for WXXRC : yes
Finding libs for WXRICHTEXT : yes
WARNING: Unable to find setup.h in /tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2/build/wxbld/gtk3/lib64/wx/include/gtk3-unicode-3.2, assuming wxUSE_MEDIACTRL is not available.
Finding libs for WXMEDIA : yes
Finding libs for WXRIBBON : yes
Finding libs for WXPROPGRID : yes
Finding libs for WXAUI : yes
'configure' finished successfully (1.501s)
Waf: Entering directory `/tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2/build/waf/3.11/gtk3'
**** Compiler: gcc --version
gcc (SUSE Linux) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[ 1/939] Compiling sip/siplib/sip_array.c
[ 2/939] Compiling sip/siplib/descriptors.c
[ 3/939] Compiling sip/siplib/apiversions.c
[ 4/939] Compiling sip/siplib/qtlib.c
[ 5/939] Compiling sip/siplib/objmap.c
[ 6/939] Compiling sip/siplib/int_convertors.c
[ 7/939] Compiling sip/siplib/siplib.c
[ 8/939] Compiling sip/siplib/threads.c
[ 9/939] Compiling sip/siplib/voidptr.c
[ 10/939] Compiling sip/siplib/bool.cpp
[ 11/939] Compiling sip/cpp/sip_corewxZoomGestureEvent.cpp
In file included from ../../../../ext/wxWidgets/include/wx/defs.h:45:0,
from ../../../../ext/wxWidgets/include/wx/wx.h:14,
from ../../../../wx/include/wxPython/wxpy_api.h:41,
from ../../../../sip/cpp/sipAPI_core.h:22068,
from ../../../../sip/cpp/sip_corewxZoomGestureEvent.cpp:10:
../../../../ext/wxWidgets/include/wx/platform.h:159:10: fatal error: wx/setup.h: No such file or directory
#include "wx/setup.h"
^~~~~~~~~~~~
compilation terminated.
../../../../sip/siplib/siplib.c: In function ‘parsePass1’:
../../../../sip/siplib/siplib.c:3900:20: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
*selfp = va_arg(va, PyObject *);
^
Waf: Leaving directory `/tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2/build/waf/3.11/gtk3'
Build failed
-> task in '_core' failed with exit status 1 (run with -v to display more information)
Command '"/home/INT/pheadley/passwords/bin/python3.11" /tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2/bin/waf-2.0.24 --wx_config=/tmp/pip-install-tuiuvd6z/wxpython_7c448115aaf14e07b0e712dbea01ccc2/build/wxbld/gtk3/wx-config --gtk3 --python="/home/INT/pheadley/passwords/bin/python3.11" --out=build/waf/3.11/gtk3 configure build ' failed with exit code 1.
Finished command: build_py (0m5.212s)
Finished command: build (8m41.669s)
WARNING: Building this way assumes that all generated files have been
generated already. If that is not the case then use build.py directly
to generate the source and perform the build stage. You can use
--skip-build with the bdist_* or install commands to avoid this
message and the wxWidgets and Phoenix build steps in the future.
"/home/INT/pheadley/passwords/bin/python3.11" -u build.py build
Command '"/home/INT/pheadley/passwords/bin/python3.11" -u build.py build' failed with exit code 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for wxpython Failed to build wxpython ERROR: Could not build wheels for wxpython, which is required to install pyproject.toml-based projects (passwords) @.***:~>
Now you are seeing #2422.
I saw that thread before. I don't understand the work-around. Is my only option to wait for the next release of the installer for pip?
/Patrick Headley/ Linx Consulting, Inc. (303) 916-5522 @.*** www.linxco-inc.com
On 2/19/24 5:28 PM, Scott Talbert wrote:
Now you are seeing #2422 https://github.com/wxWidgets/Phoenix/issues/2422.
— Reply to this email directly, view it on GitHub https://github.com/wxWidgets/Phoenix/issues/2532#issuecomment-1953310407, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFS7VOSAUKPRE3BZ7J3PVULYUPUZTAVCNFSM6AAAAABDOR7XSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGMYTANBQG4. You are receiving this because you authored the thread.Message ID: @.***>
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.
OK. I don't understand the build process well enough to fix it myself. Just hope there's a new release soon. In the mean time I'm not completely stranded. Just can't use either of the IDEs I had hoped to use.
Appreciate your assistance and quick response.
/Patrick Headley/ Linx Consulting, Inc. (303) 916-5522 @.*** www.linxco-inc.com
On 2/19/24 7:52 PM, Scott Talbert wrote:
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.
— Reply to this email directly, view it on GitHub https://github.com/wxWidgets/Phoenix/issues/2532#issuecomment-1953402743, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFS7VOW2DEK75HX4I2TDHATYUQFW5AVCNFSM6AAAAABDOR7XSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGQYDENZUGM. You are receiving this because you authored the thread.Message ID: @.***>
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.