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

error when compiling with python3.4 #251

Closed
hainm opened this issue Apr 13, 2015 · 2 comments
Closed

error when compiling with python3.4 #251

hainm opened this issue Apr 13, 2015 · 2 comments

Comments

@hainm
Copy link
Contributor

hainm commented Apr 13, 2015

Hi guys,

I got this error when installing mdanalysis in master branch. Tested with python2.7 and there is no problem. But I got the error with src/KDTree/KDTree.swig.cpp code for python3.4. Something like

src/KDTree/KDTree.swig.cpp: In function âvoid SWIG_Python_AddErrorMsg(const char*)â:
src/KDTree/KDTree.swig.cpp:877:58: error: âPyString_AsStringâ was not declared in this scope
     PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
                                                          ^
src/KDTree/KDTree.swig.cpp: In function âPySwigClientData* PySwigClientData_New(PyObject*)â:
src/KDTree/KDTree.swig.cpp:1268:26: error: âPyClass_Checkâ was not declared in this scope
     if (PyClass_Check(obj)) {
@richardjgowers
Copy link
Member

Hi

I don't think Python 3 is supported (yet), for details there's Issue #132

@hainm
Copy link
Contributor Author

hainm commented Apr 13, 2015

thanks for your info.

Hai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants