我尝试使用pip安装monary python包。当我运行命令时pip install monary
这是全部输出
^{pr2}$
我尝试过卸载并重新安装MS Visual Studio,但我不知道failed with exit status 2的确切含义,也不知道如何修复行中的错误:monary\cmonary.c(8): fatal error C1083: Cannot open include file: 'mongoc.h': No such file or directory
我需要怎么做才能下载这个包?在
更新:我注意到了安装pkgconfig的警告,但最终结果没有改变-最后的错误仍然相同:monary\cmonary.c(8): fatal error C1083: Cannot open include file: 'mongoc.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
----------------------------------------
Command "c:\users\krist\anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\krist\\AppData\\Local\\Temp\\pip-build-xkxevy62\\monary\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\krist\AppData\Local\Temp\pip-9enpcfz5-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\krist\AppData\Local\Temp\pip-build-xkxevy62\monary\