Make sure you first configured with the --enable-shared
flag before compiling
Import _nlopt.pyd error in OSX
题
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?
解决方案
不隶属于 StackOverflow