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

compatibility with python3 #14

Closed
NanyangYe opened this issue May 11, 2017 · 2 comments
Closed

compatibility with python3 #14

NanyangYe opened this issue May 11, 2017 · 2 comments

Comments

@NanyangYe
Copy link

According to the python code, it seems to be compatible with python 3 but when I tried to install it with python 3.5, and import bayesopt, the error occurred:

ImportError: dynamic module does not define module export function(PyInit_bayesopt)

Any idea to solve this, many thanks.

@rmcantin
Copy link
Owner

rmcantin commented Jun 6, 2017

Python 3.x is not officially supported, but it should work just fine from Cython. Maybe the generated python/bayesopt.cpp is too old.

Try generating again the Cython code with the latest Cython version. The instructions are here: https://rmcantin.bitbucket.io/html/contriblib.html#modcython

@rmcantin rmcantin reopened this Jun 30, 2017
@rmcantin
Copy link
Owner

Fixed with PR #11

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