Hello All,
Kindly help me please to compiled wxpython-4.0.0 or 4.0.1 with python 3.6.10
Actually, when i was compiling this code wxPython with python-3.6.10 I used command below command something like this.
$ python setup.py install --prefix=/home/raj/software/wx/test/wxPython-4.0.0/codes --skip-build
My code run successfully.
when I don’t use --skip-build flag it gives error related to OpenGL.
checking for OpenGL headers… found in /usr/include
checking for GL/gl.h… yes
checking for GL/glu.h… no
configure: error: OpenGL libraries not available
Error running configure
ERROR: failed building wxWidgets
So, to avoid this error i used “–skip-build” and it run successfully but i am unable to import wx or wxPython
raj@elogin03:~ export LD_LIBRARY_PATH=/home/raj/software/wx/test/wxPython-4.0.0/codes/lib/python3.6/site-packages:$LD_LIBRARY_PATH
raj@elogin03:~ export LD_RUN_PATH=/home/raj/software/wx/test/wxPython-4.0.0/codes/lib/python3.6/site-packages:$LD_RUN_PATH raj@elogin03:~ export PATH=/home/raj/software/wx/test/wxPython-4.0.0/codes/bin:$PATH
raj@elogin03:~/software/wx/test/wxPython-4.0.0/codes> python
Python 3.6.10 (default, Mar 26 2020, 15:56:34)
[GCC 6.3.0 20161221 (Cray Inc.)] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
import wx
Traceback (most recent call last):
File “”, line 1, in
ModuleNotFoundError: No module named ‘wx’
import wxpython
Traceback (most recent call last):
File “”, line 1, in
ModuleNotFoundError: No module named ‘wxpython’
Thank you on advance, please guild me where i am going the mistake