Closed moldach closed 4 years ago
This is the relevant error from your log:
../../../../sip/cpp/sip_corewxUIActionSimulator.cpp: In function ‘PyObject* meth_wxUIActionSimulator_MouseMove(PyObject*, PyObject*, PyObject*)’:
../../../../sip/cpp/sip_corewxUIActionSimulator.cpp:31:10: error: ‘::wxUIActionSimulator’ has not been declared
::wxUIActionSimulator *sipCpp;
^
../../../../sip/cpp/sip_corewxUIActionSimulator.cpp:31:33: error: ‘sipCpp’ was not declared in this scope
::wxUIActionSimulator *sipCpp;
^
../../../../sip/cpp/sip_corewxUIActionSimulator.cpp:58:10: error: ‘::wxUIActionSimulator’ has not been declared
You didn't mention which Linux distribution you were using, but you need to install the package that contains xtest. After doing that, try the process again.
Distro:
$ less /etc/*-release
CentOS Linux release 7.3.1611 (Core)
$ lsb_release
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
This a shared academic HPC so I don't have root privileges. Do you know which package contains xtest. and how should I install (or ask support staff to do so)?
is it this? https://zoomadmin.com/HowToInstall/UbuntuPackage/libinput-pad-xtest
For CentOS, the package name should be libXtst-devel
so you would need to request support install that package.
However, since you're on a relatively common distribution, you can also install wxPython using pre-built wheels as well, see here for documentation: https://wxpython.org/pages/downloads/
For example, I think you could do:
pip install -U \
-f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/centos-7 \
wxPython
The following worked:
conda create --name py27 python=2.7
conda activate py27
pip install -U \
-f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/centos-7 \
wxPython
Thank you
When going to file an issue for
wxPython
there is a note:Although, following these steps resulted in an error at Step 4. Here is the
build.log
from Step 4:Although I had originally tried to make a conda Python 2 environment I thought I may be having conflicts with
pyenv
as even though it was activated it seems to be showingpyenv
:At the bottom there is known issues with
pyenv
so I followed instructions for on the trouble-shooting/FAQ forpyenv
which should have solved the issue but I'm getting an error:The log is WAY longer than the maximum of 65536 characters allowed here so I'm attaching a link to dropbox as well as the
tail
excerpt here: