Как установить шумовой модульPython

Программы на Python
Ответить
Anonymous
 Как установить шумовой модуль

Сообщение Anonymous »

Я пытаюсь запустить скрипт. Для его установки мне нужен модуль шума.
При запуске «pip install Noise» получается:

Код: Выделить всё

Collecting noise
Using cached noise-1.2.2.zip (132 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: noise
Building wheel for noise (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for noise (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-312\noise
copying .\perlin.py -> build\lib.win-amd64-cpython-312\noise
copying .\shader.py -> build\lib.win-amd64-cpython-312\noise
copying .\shader_noise.py -> build\lib.win-amd64-cpython-312\noise
copying .\test.py -> build\lib.win-amd64-cpython-312\noise
copying .\__init__.py -> build\lib.win-amd64-cpython-312\noise
running build_ext
building 'noise._simplex' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for noise
Failed to build noise
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (noise)`
Попробуйте установить Build Tools. Убедитесь, что W10 SDK отмечен. Установить. Беги еще раз. Та же ошибка.
Попробуйте загрузить и использовать готовое колесо.
Запустите «pip install Noise-1.2.3-cp312-cp312-win_arm64.whl»

Код: Выделить всё

ERROR: noise-1.2.3-cp312-cp312-win_arm64.whl is not a supported wheel on this platform. 
На самом деле я не программист. Что мне попробовать дальше?

Подробнее здесь: https://stackoverflow.com/questions/792 ... ise-module
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Python»