在执行PIP安装uspto-opendata-python时,在库中找不到xmlCheckVersion

发布于 2025-02-05 11:34:28 字数 994 浏览 2 评论 0 原文

我已经安装了conda xml2。

但是,当我执行 pip安装uspto-opendata-python 时,我会收到以下消息

在库libxml2中找不到函数xmlCheckversion。是libxml2 安装了?

我在这里注意到一个类似的问题 - - 但是列出的建议没有解决我的问题。

如何解决这个问题?这就是我收到的错误消息:

c:\ users \ njind \ appdata \ local \ temp \ xmlxpathinitwd5ud9xh.c(1):致命 错误C1083:无法打开包括文件:'libxml/xpath.h':没有这样的文件 或目录

错误:命令'c:\ program文件(x86)\ Microsoft Visual Studio \ 2022 \ BuildTools \ VC \ Tools \ MSVC \ 14.32.31326 \ bin \ hostx86 \ x64 \ cl.exe' 出口代码2

失败

在库libxml2中找不到函数xmlCheckversion。是libxml2 安装了?

I have conda xml2 installed.

However, when I execute pip install uspto-opendata-python, I get the following message

could not find function xmlCheckVersion in library libxml2. is libxml2
installed?

I noticed a similar question here - Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed? - but the suggestions listed there are not resolving my issue.

how to resolve this issue? That's the error message i'm getting:

C:\Users\njind\AppData\Local\Temp\xmlXPathInitwd5ud9xh.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\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe'
failed with exit code 2

Could not find function xmlCheckVersion in library libxml2. Is libxml2
installed?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜光 2025-02-12 11:34:28

我遇到了同样的错误。您必须从中下载文件
存档:非官方的Windows Windows Binaries for Python Extension套件这在Windows上:

PIP install C:\ USER \ USER \ downloads \ lxml-4.9.0-cp311-cp311-win_amd64.whl

I encountered the same error. You must download the file from
Archived: Unofficial Windows Binaries for Python Extension Packages, then install it like this on Windows:

pip install C:\Users\USER\Downloads\lxml-4.9.0-cp311-cp311-win_amd64.whl

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文