Skip to content

Cant install noise via pip #32

Description

@hafizosina

i tried to install noise using pip but i got this error

C:\Users\Zhenzhu\Downloads>python -m pip install noise
Collecting noise
  Using cached noise-1.2.2.tar.gz (125 kB)
Building wheels for collected packages: noise
  Building wheel for noise (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Zhenzhu\AppData\Local\Programs\Python\Python37-32\python.exe' -u -c 'import sy
s, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Zhenzhu\\AppData\\Local\\Temp\\pip-install-yy
np_3j2\\noise\\setup.py'"'"'; __file__='"'"'C:\\Users\\Zhenzhu\\AppData\\Local\\Temp\\pip-install-yy
np_3j2\\noise\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().repla
ce('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_whee
l -d 'C:\Users\Zhenzhu\AppData\Local\Temp\pip-wheel-8w7hu8rj'
       cwd: C:\Users\Zhenzhu\AppData\Local\Temp\pip-install-yynp_3j2\noise\
  Complete output (14 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win32-3.7
  creating build\lib.win32-3.7\noise
  copying perlin.py -> build\lib.win32-3.7\noise
  copying shader.py -> build\lib.win32-3.7\noise
  copying shader_noise.py -> build\lib.win32-3.7\noise
  copying test.py -> build\lib.win32-3.7\noise
  copying __init__.py -> build\lib.win32-3.7\noise
  running build_ext
  building 'noise._simplex' extension
  error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https:/
/visualstudio.microsoft.com/downloads/
  ----------------------------------------
  ERROR: Failed building wheel for noise
  Running setup.py clean for noise
Failed to build noise
Installing collected packages: noise
    Running setup.py install for noise ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Zhenzhu\AppData\Local\Programs\Python\Python37-32\python.exe' -u -c 'import
sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Zhenzhu\\AppData\\Local\\Temp\\pip-install-
yynp_3j2\\noise\\setup.py'"'"'; __file__='"'"'C:\\Users\\Zhenzhu\\AppData\\Local\\Temp\\pip-install-
yynp_3j2\\noise\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().rep
lace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install
--record 'C:\Users\Zhenzhu\AppData\Local\Temp\pip-record-8rk8l89l\install-record.txt' --single-versi
on-externally-managed --compile --install-headers 'C:\Users\Zhenzhu\AppData\Local\Programs\Python\Py
thon37-32\Include\noise'
         cwd: C:\Users\Zhenzhu\AppData\Local\Temp\pip-install-yynp_3j2\noise\
    Complete output (14 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.7
    creating build\lib.win32-3.7\noise
    copying perlin.py -> build\lib.win32-3.7\noise
    copying shader.py -> build\lib.win32-3.7\noise
    copying shader_noise.py -> build\lib.win32-3.7\noise
    copying test.py -> build\lib.win32-3.7\noise
    copying __init__.py -> build\lib.win32-3.7\noise
    running build_ext
    building 'noise._simplex' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https
://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Zhenzhu\AppData\Local\Programs\Python\Pytho
n37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Zhenzhu\\A
ppData\\Local\\Temp\\pip-install-yynp_3j2\\noise\\setup.py'"'"'; __file__='"'"'C:\\Users\\Zhenzhu\\A
ppData\\Local\\Temp\\pip-install-yynp_3j2\\noise\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"',
open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __f
ile__, '"'"'exec'"'"'))' install --record 'C:\Users\Zhenzhu\AppData\Local\Temp\pip-record-8rk8l89l\i
nstall-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Zhenzhu
\AppData\Local\Programs\Python\Python37-32\Include\noise' Check the logs for full command output.

i'm using python 3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions