我在做一个项目,用到的是python3.7,在Anaconda虚拟环境中安装需要的包的时候出现了报错:
ERROR: Could not find a version that satisfies the requirement mediapipe==0.8.2 (from versions: none)
ERROR: No matching distribution found for mediapipe==0.8.2
deepseek给出的答复是:
1.Python 版本不兼容:mediapipe 的某些版本需要 Python 3.8 或更高版本,而你的虚拟环境使用的是 Python 3.7。
2.找不到匹配的版本:mediapipe==0.8.2 这个特定版本可能已经不再支持,或者没有适用于当前环境的版本。
deepseek给出的解决方法是:
1.升级 Python 版本
mediapipe 需要 Python 3.8 或更高版本,因此你需要将虚拟环境的 Python 版本升级到 3.8 或更高。
2. 修改 requirements.txt
如果升级 Python 版本不可行,可以尝试修改 requirements.txt,将 mediapipe==0.8.2 替换为兼容 Python 3.7 的版本。
请问各位除了这两种方法,有没有能够在不改变python版本的情况下安装mediapipe==0.8.2