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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top