如何修复“退出状态为1的错误命令”错误

时间:2020-10-13 02:21:10

标签: python sdk

我当前正在运行Windows 10和Python 3.9,并且最近一直在尝试安装ebaysdk。我下载了sdk并尝试使用pip进行安装,但是每次尝试时,我都会收到“命令错误,退出状态为1”错误。这是错误消息:

Running setup.py install for lxml ... error
ERROR: Command errored out with exit status 1:

然后继续进行一点,然后最终给出错误

C:\Users\mosta\AppData\Local\Temp\xmlXPathInit316kkhh9.c(1): fatal error C1083: Cannot open include file: 'libxml/xpath.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.27.29110\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
********************************************************************************

我认为这意味着我需要安装libxml2,但是我已经尝试了多次,它也给了我类似的错误。有谁知道这个问题/可能的解决方案

0 个答案:

没有答案