我试图在通过py -m virtualenv objectremoval命令创建的虚拟环境中安装 GitHub 克隆的要求,但总是遇到“无法找到满足要求的版本”错误。克隆存储库后,我执行了以下几行;
D:\test1\Deep-Object-Removal>py -m virtualenv objectremoval
created virtual environment CPython3.10.2.final.0-64 in 1474ms
creator CPython3Windows(dest=D:\test1\Deep-Object-Removal\objectremoval, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\user\AppData\Local\pypa\virtualenv)
added seed packages: pip==22.1.2, setuptools==62.6.0, wheel==0.37.1
activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
D:\test1\Deep-Object-Removal>cd objectremoval\Scripts
D:\test1\Deep-Object-Removal\objectremoval\Scripts>activate
(objectremoval) D:\test1\Deep-Object-Removal\objectremoval\Scripts>cd ..
(objectremoval) D:\test1\Deep-Object-Removal\objectremoval>cd ..
(objectremoval) D:\test1\Deep-Object-Removal>pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement opencv_python==3.3.0.10 (from versions: 3.4.0.14, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, …Run Code Online (Sandbox Code Playgroud)