Microsoft Genalog安装问题

发布于 2025-02-07 05:11:38 字数 531 浏览 1 评论 0 原文

我目前正在从事一个项目,需要安装Microsoft Genalog才能测试某些事情。 我尝试

使用命令将其安装在VENV中时,我尝试将其安装在Mac M1和Windows 10上: pip install genalog 它返回两种错误。

 错误:opencv-contrib-python == 4.2.0.34找不到匹配分布
 

在Windows上,我无法从此错误中移动,如果我运行,则在Mac上:

pip install opencv-python

然后我再次运行 pip install genalog 这次它返回错误:

 错误:没有针对pandas == 1.0.1找到的匹配分布
 

我尝试了其他VENV,从unignts.txt中安装了所有软件包,但是发生了相同的错误。

i'm currently working on a project where i need to install Microsoft genalog in order to test some things.
i've tried to install it on a mac M1 and windows 10

When i try to install it in a venv with the command: pip install genalog
It return two kind of errors.

ERROR: No matching distribution found for opencv-contrib-python==4.2.0.34

on windows i cannot move from this error, while on mac if i run:

pip install opencv-python

and then i run again pip install genalog this time it returns the error:

ERROR: No matching distribution found for pandas==1.0.1

i've tried different venv, installing all the package from the requirements.txt but the same errors occurs.

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

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

发布评论

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

评论(1

为你鎻心 2025-02-14 05:11:38

似乎 genalog 已被错误包装,因为 opencv-contrib-python 的过度严格版本(以及其他依赖关系)。

虽然软件包本身可能应该修复(我为此提出了一个问题: https:// github。 com/microsoft/genalog/esseag/53 ),对于初学者,您可以尝试手installing ”“足够关闭” 依赖性文件的版本,然后使用 - no-deps 安装项目本身。 ( pip 可能会警告您有关错误的依赖版本,但要继续进行操作并让运行事物进行镜头。)

pip install biopython~=1.76 numpy~=1.18.1 python-dotenv~=0.11.0 requests~=2.23.0 azure-core~=1.10.0 azure-common~=1.1.26 azure-storage-blob~=12.3.1 tqdm~=4.43.0 Jinja2~=2.11.1 WeasyPrint~=51 matplotlib~=3.2.1 scikit-image~=0.16.2 opencv-python~=4.2.0 pandas~=1.0.1 aiofiles~=0.5.0 aiohttp~=3.6.2
pip install --no-deps genalog

自然,请确保在Virtualenv中执行此操作。

It seems like genalog has been mis-packaged in that it specifies an overly strict version of opencv-contrib-python (and other dependencies).

While the package itself should probably be fixed (I raised an issue for this: https://github.com/microsoft/genalog/issues/53), for starters you can try hand-installing "close enough" versions of the dependencies from that requirements file, followed by installing the project itself with --no-deps. (pip may warn you about wrong dependency versions, but carry on nevertheless and give running things a shot.)

pip install biopython~=1.76 numpy~=1.18.1 python-dotenv~=0.11.0 requests~=2.23.0 azure-core~=1.10.0 azure-common~=1.1.26 azure-storage-blob~=12.3.1 tqdm~=4.43.0 Jinja2~=2.11.1 WeasyPrint~=51 matplotlib~=3.2.1 scikit-image~=0.16.2 opencv-python~=4.2.0 pandas~=1.0.1 aiofiles~=0.5.0 aiohttp~=3.6.2
pip install --no-deps genalog

Naturally, be sure to do this in a virtualenv.

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