-
Notifications
You must be signed in to change notification settings - Fork 12
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
Wrong python executable when compiling #99
Comments
From [email protected] on January 02, 2013 08:36:51 You can use the PYTHON_EXECUTABLE CMake option to specify which version of Python to use. Try re-running CMake while adding the following option to the command line: -D PYTHON_EXECUTABLE=/usr/bin/python2 Let us know if that works. |
From [email protected] on January 02, 2013 17:24:22 That does the trick. Apparently Ubuntu and Fedora also provide /usr/bin/python2, so it should be safe to make that the default path. |
From [email protected] on January 07, 2013 11:19:59 The default path for Python is whatever CMake determines to be the location for Python, which is platform-specific. We'll take a look at whether it's possible to tell CMake to look for Python 2 specifically, although I doubt it can be done. In the interest of being platform-agnostic, we probably won't hardcode a path. At the very least, we'll make it clearer in the ReadMe that you can specify which Python executable to use with PYTHON_EXECUTABLE. Cc: [email protected] |
From [email protected] on January 07, 2013 11:20:40 Status: Accepted |
Documentation has been added to the readme.txt about this feature. |
From [email protected] on January 01, 2013 22:33:17
When compiling from source on linux it is assumed that /usr/bin/python refers to Python 2. This is true on Debian based distros, but on others (i.e. Arch) /usr/bin/python is Python 3 and Python 2 is at /usr/bin/python2.
Original issue: http://code.google.com/p/wxlauncher/issues/detail?id=99
The text was updated successfully, but these errors were encountered: