Skip to content
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

Python 3 #4

Closed
labvit opened this issue May 12, 2017 · 1 comment
Closed

Python 3 #4

labvit opened this issue May 12, 2017 · 1 comment

Comments

@labvit
Copy link
Collaborator

labvit commented May 12, 2017

Qpp doesn't support this Python version. There is no PyInt_Type in Python3, but Qpp uses it.

@nvpopov
Copy link
Owner

nvpopov commented May 12, 2017

As workaround, one can force specific python version via CMake:

#Use system python
find_package(PythonLibs 2.7 REQUIRED)
if(PYTHONLIBS_FOUND)
include_directories(${PYTHON_INCLUDE_DIRS})
endif(PYTHONLIBS_FOUND)

You can test this behaviour using the latest master branch

@nvpopov nvpopov closed this as completed May 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants