HearthSim / decrunch

Python wrapper around Crunch DXTc decompressor
https://hearthsim.info
zlib License
14 stars 23 forks source link

ERROR: pip install decrunch (Windows 8.1 64-bit) #17

Closed captSpirk closed 4 years ago

captSpirk commented 4 years ago

The following error message is shown when I try to install pip install decrunch on my computer, even though I have Microsoft Visual C++ 14.0 installed.

pip install decrunch

Building wheel for decrunch (setup.py) ... error

ERROR: Command errored out with exit status 1:

 command: 'f:\program files\python\python\python.exe' -u -c  
  'import sys, setuptools, tokenize; sys.argv[0] = '"''"C:\\Users\\Joong\\AppData\\Local\\Temp\\pip- 
  install-u1d4k562\\decrunch\\setup.py'"'"';
   __file__ ='"'"'C:\\Users\\Joong\\AppData\\Local\\Temp\\pip-install- 
   u1d4k562\\decrunch\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"',open) 
  (file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');
  f.close();exec;(compile(code,__file__, '"'"'exec'"'"')')' bdist_wheel -d 
  'C:\Users\Joong\AppData\Local\Temp\pip-wheel-oxss0ec4' --python-tag cp38
      cwd:  C:\Users\Joong\AppData\Local\Temp\pip-install-u1d4k562\decrunch\
  Complete output (5 lines):
  running bdist_wheel
  running build
  running build_ext 
  building 'decrunch' 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 decrunch

The second part for Running setup.py clean for decrunch with the added:

... install --record 'C:\Users\Joong\AppData\Local\Temp\pip-record-vveqk67e\install-record.txt'
--single-version-externally managed --compile Check the logs for full command output.

I need some help please. I got the other dependencies installed all right without no problems, like pillow, lz4 and fsb5.

Was I meant to install the files in a certain order?

captSpirk commented 4 years ago

Figured out how to install decrunch, but every time I do, I run into this error code, using:

setup.py install

error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

I already have Microsoft Visual C++ installed. What am I doing wrong?