alexisflive / Dexamarin

Xamarin decompilation tool (only Android APK support for now)
MIT License
9 stars 5 forks source link

Requirments fail #7

Closed Enxyphered closed 10 months ago

Enxyphered commented 11 months ago

installing requirements failing with following error:

Collecting pyxamstore@ git+https://github.com/alexisegf/pyxamstore.git (from -r requirements.txt (line 1))
  Cloning https://github.com/alexisegf/pyxamstore.git to c:\users\shaamil\appdata\local\temp\pip-install-t4m294n6\pyxamstore_447115ae26a24ff690b4eb6baf721de6
  Running command git clone --filter=blob:none --quiet https://github.com/alexisegf/pyxamstore.git 'C:\Users\Shaamil\AppData\Local\Temp\pip-install-t4m294n6\pyxamstore_447115ae26a24ff690b4eb6baf721de6'
  Resolved https://github.com/alexisegf/pyxamstore.git to commit 8a309b56b314bb53b1b1cbd484ca910cb9f1c6ec
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting lz4 (from -r requirements.txt (line 2))
  Using cached lz4-4.3.2-cp311-cp311-win_amd64.whl (99 kB)
Collecting termcolor (from -r requirements.txt (line 3))
  Using cached termcolor-2.3.0-py3-none-any.whl (6.9 kB)
Collecting future==0.18.2 (from pyxamstore@ git+https://github.com/alexisegf/pyxamstore.git->-r requirements.txt (line 1))
  Using cached future-0.18.2-py3-none-any.whl
Collecting lz4 (from -r requirements.txt (line 2))
  Using cached lz4-2.2.1.tar.gz (141 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting xxhash==2.0.2 (from pyxamstore@ git+https://github.com/alexisegf/pyxamstore.git->-r requirements.txt (line 1))
  Using cached xxhash-2.0.2.tar.gz (64 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyxamstore, lz4, xxhash
  Building wheel for pyxamstore (pyproject.toml) ... done
  Created wheel for pyxamstore: filename=pyxamstore-1.0.0-py3-none-any.whl size=6364 sha256=1f364334862fd14f6ea4b8407e9ee7f9d55bd39979376db258afb7a53ab719fe
  Stored in directory: C:\Users\Shaamil\AppData\Local\Temp\pip-ephem-wheel-cache-kmxhhic8\wheels\03\51\e8\961e6486134d9bacf097329f402a02a42b61467fa1d9b4e8e0
  Building wheel for lz4 (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for lz4 (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-311
      creating build\lib.win-amd64-cpython-311\lz4
      copying lz4\version.py -> build\lib.win-amd64-cpython-311\lz4
      copying lz4\__init__.py -> build\lib.win-amd64-cpython-311\lz4
      creating build\lib.win-amd64-cpython-311\lz4\block
      copying lz4\block\__init__.py -> build\lib.win-amd64-cpython-311\lz4\block
      creating build\lib.win-amd64-cpython-311\lz4\frame
      copying lz4\frame\_compression.py -> build\lib.win-amd64-cpython-311\lz4\frame
      copying lz4\frame\__init__.py -> build\lib.win-amd64-cpython-311\lz4\frame
      running build_ext
      building 'lz4._version' 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 lz4
  Building wheel for xxhash (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for xxhash (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-311
      creating build\lib.win-amd64-cpython-311\xxhash
      copying xxhash\__init__.py -> build\lib.win-amd64-cpython-311\xxhash
      running build_ext
      building '_xxhash' 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 xxhash
Successfully built pyxamstore
Failed to build lz4 xxhash
ERROR: Could not build wheels for lz4, xxhash, which is required to install pyproject.toml-based projects
alexisflive commented 10 months ago

In the error log it tells you why it failed: "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/"

Try installing this and re-attempting to install de dependencies