При запуске «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)`
Попробуйте загрузить и использовать готовое колесо.
Запустите «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
Мобильная версия