سؤال

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