#34 安装pytorch时出现问题

Open
created 1 year ago by zhongyu · 2 comments
zhongyu commented 1 year ago
<!-- 需要按照模板,填写每一项内容,请勿改动 --> ### 问题所属任务编号(Task 01-05) Task01 ### 运行环境(操作系统版本、Python 版本)/ 非程序问题 Windows11 3.9 ### 完整的报错信息(截图或复制均可)/ 问题详细描述 想搭建环境安装pytorch时出现以下报错: Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed PackagesNotFoundError: The following packages are not available from current channels: - python=3.9 Current channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org and use the search bar at the top of the page. ### 描述你期望看到的结果 想成功搭建pytorch
anine09 commented 1 year ago
Collaborator
hi @zhongyu 请参考我们的直播安装教程来换源,目前看来是因为 free repo 已经被官方弃用了,你看的方案可能过时了
anine09 added the
Task 01
label 1 year ago
anine09 added the
程序问题
label 1 year ago
anine09 added this to the 助教解答过 milestone 1 year ago
JeffDing commented 1 year ago
尝试下这个命令试试看能不能安装 ```bash pip install torch -i https://mirror.sjtu.edu.cn/pypi/web/simple ```
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.