“无法打开包含文件:'gsl/gsl_errno.h':没有这样的文件或目录”Widnows 10 上的错误

问题描述

我正在尝试在 Windows 10 上的 anaconda 中安装 python 包 pyphenomd。我已经使用 GSL 安装了 Microsoft Visual C++ 2015 和 GNU 科学库 (conda) 包。

然后我尝试在 Anaconda Prompt 中使用安装 pyphenomd

pip install pyphenomd

(不使用 conda install,因为这会导致 Packages Not Found 错误。) 但我不断收到以下错误

enter image description here

那么

Installing collected packages: pyphenomd
Running setup.py install for pyphenomd ... error

接着是上述错误的另一次迭代。最后以这条消息结束

enter image description here

根据 Cannot open include file: 'gsl/gsl_errno.h': No such file or directory 消息,我假设错误是 Visual C++ 无法访问 gsl 的头文件。然后我从 conda 重新安装了 gsl 包,但这没有帮助。然后我按照 vcpkg 中提到的过程使用 here 安装了 GSL。这也没有帮助,我仍然遇到同样的错误。通过 cygwin 安装 GSL 也没有帮助。

现在我不知道该怎么办。我什至不确定错误是否与 gsl 的安装有关?

我发现的其他类似问题要么没有任何答案,要么提供的解决方案不相关。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)