Windows环境下Python通用数据格式(CDF)库的安装

2024-09-29 23:20:40 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图在windows10中使用Anaconda命令提示符下的easy\u 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命令进行安装时,我遇到了相同的错误。你知道吗

非常感谢您的帮助。你知道吗


Tags: install消息错误witheasyerroranacondax86
1条回答
网友
1楼 · 发布于 2024-09-29 23:20:40

我通过使用另一种方法安装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位版本。 没有关闭防火墙,我得到错误“系统资源不足,无法完成请求的服务”。你知道吗

相关问题 更多 >

    热门问题