-
-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Hi! When I try to install the noise library using drawbot's built in installer, I'm getting an error. Am I doing something wrong? I am using the latest version of drawbot I believe, v3.130.
Below is the whole response:
`Collecting Noise
Using cached noise-1.2.2.zip (132 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Installing collected packages: Noise
DEPRECATION: Noise is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for Noise: started
Running setup.py install for Noise: finished with status 'error'
error: subprocess-exited-with-error
× Running setup.py install for Noise did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.9
creating build/lib.macosx-10.9-x86_64-3.9/noise
copying shader.py -> build/lib.macosx-10.9-x86_64-3.9/noise
copying perlin.py -> build/lib.macosx-10.9-x86_64-3.9/noise
copying shader_noise.py -> build/lib.macosx-10.9-x86_64-3.9/noise
copying init.py -> build/lib.macosx-10.9-x86_64-3.9/noise
copying test.py -> build/lib.macosx-10.9-x86_64-3.9/noise
running build_ext
building 'noise._simplex' extension
creating build/temp.macosx-10.9-x86_64-3.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Applications/DrawBot.app/Contents/Resources/include/python3.9 -c _simplex.c -o build/temp.macosx-10.9-x86_64-3.9/_simplex.o -funroll-loops
_simplex.c:5:10: fatal error: 'Python.h' file not found
#include "Python.h"
^~~~~~~~~~
1 error generated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> Noise
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
`