BasicSR icon indicating copy to clipboard operation
BasicSR copied to clipboard

why it can't install 1.4.2 in conda env, error as below

Open foxtang8 opened this issue 1 year ago • 3 comments

pip install basicsr==1.4.2 Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting basicsr==1.4.2 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/86/41/00a6b000f222f0fa4c6d9e1d6dcc9811a374cabb8abb9d408b77de39648c/basicsr-1.4.2.tar.gz (172 kB) Preparing metadata (setup.py) ... done Collecting addict (from basicsr==1.4.2) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/6a/00/b08f23b7d7e1e14ce01419a467b583edbb93c6cdb8654e54a9cc579cd61f/addict-2.4.0-py3-none-any.whl (3.8 kB) Collecting future (from basicsr==1.4.2) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/8f/2e/cf6accf7415237d6faeeebdc7832023c90e0282aa16fd3263db0eb4715ec/future-0.18.3.tar.gz (840 kB) Preparing metadata (setup.py) ... done Collecting lmdb (from basicsr==1.4.2) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/66/05/21a93eed7ff800f7c3b0538eb12bde89660a44693624cd0e49141beccb8b/lmdb-1.4.1-cp310-cp310-win_amd64.whl (100 kB) Requirement already satisfied: numpy>=1.17 in d:\anaconda3\envs\stabletzm\lib\site-packages (from basicsr==1.4.2) (1.24.3) Collecting opencv-python (from basicsr==1.4.2) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/36/98/fab8d982e2e2b57bdebcad64c7e5b5a14ac91c657cac509b9cf3fbea49d2/opencv_python-4.7.0.72-cp37-abi3-win_amd64.whl (38.2 MB) Requirement already satisfied: Pillow in d:\anaconda3\envs\stabletzm\lib\site-packages (from basicsr==1.4.2) (9.5.0) Collecting pyyaml (from basicsr==1.4.2) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/b7/09/2f6f4851bbca08642fef087bade095edc3c47f28d1e7bff6b20de5262a77/PyYAML-6.0-cp310-cp310-win_amd64.whl (151 kB) Requirement already satisfied: requests in d:\anaconda3\envs\stabletzm\lib\site-packages (from basicsr==1.4.2) (2.31.0) Collecting scikit-image (from basicsr==1.4.2) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f3/93/65601f7577d6fd49ec23bf8fb58c04d8170b06a1544452ae2ea9f59bf11f/scikit_image-0.21.0-cp310-cp310-win_amd64.whl (22.8 MB) Collecting scipy (from basicsr==1.4.2) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ec/e3/b06ac3738bf365e89710205a471abe7dceec672a51c244b469bc5d1291c7/scipy-1.10.1-cp310-cp310-win_amd64.whl (42.5 MB) INFO: pip is looking at multiple versions of basicsr to determine which version is compatible with other requirements. This could take a while. ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.0rc1 Requires-Python >=3.7,<3.10; 1.7.0rc2 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10 ERROR: Could not find a version that satisfies the requirement tb-nightly (from basicsr) (from versions: none) ERROR: No matching distribution found for tb-nightly

foxtang8 avatar Jun 13 '23 14:06 foxtang8

I also have the above problems

lingtengqiu avatar Jun 14 '23 06:06 lingtengqiu

碰到同样问题,可能是pip tsinghua源的问题,我是替换为tencent源解决的

Sparks-Lu avatar Jun 21 '23 09:06 Sparks-Lu

The same problem was encountered on Linux and could not be installed.

Switching to Tencent data source will cause torch dependency error.

If there is no GPU, only CPU, you cannot install this plug-in.

Use this. pip3 install gfpgan --use-pep517

ifredom avatar Dec 28 '23 12:12 ifredom