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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top