Question

I followed step with nlopt and get a _nlopt.pyd

When i try to use nlopt.py(it's have code like follow)

import _nlopt

and it's gives

ImportError: No module named _nlopt

I am sure the _nlopt.pyd is in the folder

And it's work in Windows7

Any help?

Était-ce utile?

La solution

Make sure you first configured with the --enable-shared flag before compiling

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top