我正尝试在Windows10的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
命令安装时,我得到了相同的错误。
任何帮助都是非常感谢的。
发布于 2018-03-13 04:46:29
我通过使用另一种方法安装CDF解决了这个问题。使用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位版本。在没有关闭防火墙的情况下,我收到错误消息“系统资源不足,无法完成请求的服务”。
https://stackoverflow.com/questions/47916730
复制相似问题