Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/338.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 我该如何解决一个问题;命令出错,退出状态为“1”;错误_Python_Sdk - Fatal编程技术网

Python 我该如何解决一个问题;命令出错,退出状态为“1”;错误

Python 我该如何解决一个问题;命令出错,退出状态为“1”;错误,python,sdk,Python,Sdk,我目前运行的是Windows 10和Python 3.9,最近我一直在尝试安装ebaysdk。我下载了sdk并尝试使用pip安装它,但每次尝试时都会出现“command errored out with exit status 1”错误。以下是错误消息: Running setup.py install for lxml ... error ERROR: Command errored out with exit status 1: 然后它继续一点点,然后最终给出错误 C:\Users\mos

我目前运行的是Windows 10和Python 3.9,最近我一直在尝试安装ebaysdk。我下载了sdk并尝试使用pip安装它,但每次尝试时都会出现“command errored out with exit status 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,但我已经尝试了多次,它也给了我类似的错误。有人知道这个问题/可能的解决方案吗