- ВКонтакте
- РћРТвЂВВВВВВВВнокласснРСвЂВВВВВВВВРєРСвЂВВВВВВВВ
- РњРѕР№ Р В Р’В Р РЋРЎв„ўР В Р’В Р РЋРІР‚ВВВВВВВВРЎР‚
- Viber
- Skype
- Telegram
Не получается установить tensorflow на mac
python 3.13
обычный pip install tensorflow
не работает, pip3 install tensorflow
простоит скачать brew pipx
╰─> To install Python packages system-wide, try brew install
xyz, where xyz is the package you are trying to
install.
If you wish to install a Python library that isn't in Homebrew,
use a virtual environment:
python3 -m venv path/to/venv
source path/to/venv/bin/activate
python3 -m pip install xyz
If you wish to install a Python application that isn't in Homebrew,
it may be easiest to use 'pipx install xyz', which will manage a
virtual environment for you. You can install pipx with
brew install pipx
You may restore the old behavior of pip by passing
the '--break-system-packages' flag to pip, or by adding
'break-system-packages = true' to your pip.conf file. The latter
will permanently disable this error.
If you disable this error, we STRONGLY recommend that you additionally
pass the '--user' flag to pip, or set 'user = true' in your pip.conf
file. Failure to do this can result in a broken Homebrew installation.
Read more about this behavior here: <https://peps.python.org/pep-0668/>
После установки pipx и ввода pipx install tensorflow
выходит ошибка
Fatal error from pip prevented installation. Full pip output in file:
/Users/pdpndjs/.local/pipx/logs/cmd_2025-02-20_12.57.49_pip_errors.log
Some possibly relevant errors from pip install:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
Error installing tensorflow.
также отдельно скачивал через brew install tensorflow
Ответы (1 шт):
Последняя поддерживаемая tensorflow
на данный момент версия питона - это 3.12, в чём можно убедиться самостоятельно, открыв страницу с дистрибутивами.
tensorflow-2.18.0-cp312-cp312-win_amd64.whl (7.5 kB просмотр сведений) Uploaded 25 окт. 2024 г. CPython 3.12 Windows x86-64
tensorflow-2.18.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (615.5 MB просмотр сведений) Uploaded 25 окт. 2024 г. CPython 3.12 manylinux: glibc 2.17+ x86-64
tensorflow-2.18.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (231.9 MB просмотр сведений) Uploaded 25 окт. 2024 г. CPython 3.12 manylinux: glibc 2.17+ ARM64
tensorflow-2.18.0-cp312-cp312-macosx_12_0_arm64.whl (239.6 MB просмотр сведений) Uploaded 25 окт. 2024 г. CPython 3.12 macOS 12.0+ ARM64
Не только на MacOS, а вообще ни на какую ОС вы не сможете сейчас на питон 3.13 поставить tensorflow
.