V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
peterzhang0602
V2EX  ›  Python

torch 在 Mac m 芯片怎么安装

  •  
  •   peterzhang0602 · 2023-02-28 23:38:47 +08:00 · 1395 次点击
    这是一个创建于 414 天前的主题,其中的信息可能已经有所发展或是发生改变。

    老提醒 ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found for torch

    4 条回复    2023-03-01 13:52:49 +08:00
    ttys001
        2
    ttys001  
       2023-03-01 01:44:07 +08:00
    brew install --cask miniforge
    conda install pytorch torchvision -c pytorch
    peterzhang0602
        3
    peterzhang0602  
    OP
       2023-03-01 10:37:43 +08:00
    @ttys001 还是提醒 ModuleNotFoundError: No module named 'torch'
    ttys001
        4
    ttys001  
       2023-03-01 13:52:49 +08:00
    @peterzhang0602
    那可能是 python 的版本问题。
    python=3.8.12=hab31e5c_2_cpython
    pytorch=1.8.0=cpu_py38hc43b888_1
    torchvision=0.2.2=py_3
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3278 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:17 · PVG 20:17 · LAX 05:17 · JFK 08:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.