-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
qtgui build scripts require python 2 #431
Comments
Thanks for opening your first issue here! Please try to include example files and screenshots if possible. If you're looking for support, please post on our forum: https://discuss.avogadro.cc/ |
ghutchis
added a commit
to ghutchis/avogadrolibs
that referenced
this issue
Apr 27, 2020
Thanks to Drew Parsons for the bug report Signed-off-by: Geoff Hutchison <geoff.hutchison@gmail.com>
Sorry, I'm just getting to this now, because we're aiming for a 1.94 release. This should be fixed by #462 |
ghutchis
added a commit
that referenced
this issue
Apr 28, 2020
Switch all references to Py2 to 3, fixing #431
I'm marking this closed - thanks for the detailed report. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Avogadrolibs: 1.92.1
Qt: 5.12.5 (Debian 5.12.5+dfsg-2)
OS: Debian unstable
Version Linux 5.3.7-1
Compiler g++ 9.2.1-14
Build scripts for the qtgui component require Python 2,
find_package(PythonInterp 2)
inPython 2 is deprecated, will be no longer supported from 1 Jan 2020, so needs to be replaced with Python 3.
More problematically for avogadrolibs, the python module is supposed to be built with
cmake -DUSE_PYTHON=ON
. But python/CMakeLists.txt does require Python 3:find_package(PythonInterp 3 REQUIRED)
So there is a contradiction in the build. python2 is found for qtgui, and those python2 values found for PythonInterp are reused for the python build, which consequently fails since it needs python3:
The qtgui scripts need to be updated for Python3.
The text was updated successfully, but these errors were encountered: