我下载了 cvxopt 包并尝试运行此处文档中的一些示例
http://cvxopt.org/examples/index.html
当我从 ipython notebook 执行代码时,一切都运行良好。
但是,当我尝试运行解释器时,我得到以下信息:
导入 cvxopt:
文件“C:\Python27\lib\site-packages\cvxopt__init__.py”,第 32 行,在 import cvxopt.base ImportError: DLL load failed: The specified module could not be found。
命令 import cvxopt 在 ipython notebook 中运行良好。无法下载的模块(cvxopt.base)是一个 .pyd 文件,位于系统路径中。
我彻底糊涂了。