V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · Feb 28, 2023 · 2076 views
    This topic created in 1153 days ago, the information mentioned may be changed or developed.

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

    4 replies    2023-03-01 13:52:49 +08:00
    ttys001
        2
    ttys001  
       Mar 1, 2023
    brew install --cask miniforge
    conda install pytorch torchvision -c pytorch
    peterzhang0602
        3
    peterzhang0602  
    OP
       Mar 1, 2023
    @ttys001 还是提醒 ModuleNotFoundError: No module named 'torch'
    ttys001
        4
    ttys001  
       Mar 1, 2023
    @peterzhang0602
    那可能是 python 的版本问题。
    python=3.8.12=hab31e5c_2_cpython
    pytorch=1.8.0=cpu_py38hc43b888_1
    torchvision=0.2.2=py_3
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5450 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 69ms · UTC 09:31 · PVG 17:31 · LAX 02:31 · JFK 05:31
    ♥ Do have faith in what you're doing.