Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

离线安装pytorch和torchvision出现CondaValueError: cannot mix specifications with conda package filenames #13

Closed
cx-333 opened this issue May 17, 2022 · 1 comment
Labels
problem solved The problem has already been settled.

Comments

@cx-333
Copy link

cx-333 commented May 17, 2022

windows环境:
在下载地址https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/中下载torchvision-0.10.0-py37_cu111 (1).tar.bz2和pytorch-1.10.1-py3.9_cuda11.1_cudnn8_0.tar.bz2两个包后,复制它们到相应环境的site-packages目录下,然后输入命令conda install --offline torchvision-0.10.0-py37_cu111 (1).tar.bz2出现提示:
CondaValueError: cannot mix specifications with conda package filenames

@cx-333
Copy link
Author

cx-333 commented May 17, 2022

原因可能是该环境中已经装有torch包,或torchvision-0.10.0-py37_cu111 (1).tar.bz2中多了(1)。

@ZhikangNiu ZhikangNiu added the problem solved The problem has already been settled. label May 17, 2022
@ZhikangNiu ZhikangNiu pinned this issue May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem solved The problem has already been settled.
Projects
None yet
Development

No branches or pull requests

2 participants