我目前正在从事一个项目,需要安装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.
发布评论
评论(1)
似乎
genalog
已被错误包装,因为 opencv-contrib-python 的过度严格版本(以及其他依赖关系)。虽然软件包本身可能应该修复(我为此提出了一个问题: https:// github。 com/microsoft/genalog/esseag/53 ),对于初学者,您可以尝试手installing ”“足够关闭” 依赖性文件的版本,然后使用
- no-deps
安装项目本身。 (pip
可能会警告您有关错误的依赖版本,但要继续进行操作并让运行事物进行镜头。)自然,请确保在Virtualenv中执行此操作。
It seems like
genalog
has been mis-packaged in that it specifies an overly strict version ofopencv-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.)Naturally, be sure to do this in a virtualenv.