在 Windows 中安装 Python 的通用数据格式 (CDF) 库
Installation Common Data Format (CDF) library of Python in Windows
我正在尝试在 Windows 10 的 Anaconda 命令提示符中使用 easy_install cdf 在 Python 中安装 CDF(通用数据格式)。
我收到错误消息:
"error C2036: 'void *': unknown size",
"error: Setup script exited with error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\cl.exe' failed with exit status 2" preceded by a number of warnings.
当我尝试使用 python setup.py install
命令安装时,我遇到了同样的错误。
非常感谢任何帮助。
我通过使用另一种安装 CDF 的方法解决了这个问题。使用 link 中的 CDF 安装程序(对于 Windows)-
https://spdf.sci.gsfc.nasa.gov/pub/software/cdf/dist/cdf36_4/windows/
关闭防病毒防火墙,然后安装 cdf36_4_0-setup-64.exe 或 cdf36_4_0-setup-32.exe,具体取决于您分别需要 64 位还是 32 位版本。
没有关闭防火墙,我收到错误 "Insufficient system resources exist to complete the requested service"。
我正在尝试在 Windows 10 的 Anaconda 命令提示符中使用 easy_install cdf 在 Python 中安装 CDF(通用数据格式)。
我收到错误消息:
"error C2036: 'void *': unknown size",
"error: Setup script exited with error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\cl.exe' failed with exit status 2" preceded by a number of warnings.
当我尝试使用 python setup.py install
命令安装时,我遇到了同样的错误。
非常感谢任何帮助。
我通过使用另一种安装 CDF 的方法解决了这个问题。使用 link 中的 CDF 安装程序(对于 Windows)- https://spdf.sci.gsfc.nasa.gov/pub/software/cdf/dist/cdf36_4/windows/ 关闭防病毒防火墙,然后安装 cdf36_4_0-setup-64.exe 或 cdf36_4_0-setup-32.exe,具体取决于您分别需要 64 位还是 32 位版本。 没有关闭防火墙,我收到错误 "Insufficient system resources exist to complete the requested service"。