Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.11 #1

Open
lynrayy opened this issue Jul 17, 2023 · 2 comments
Open

3.11 #1

lynrayy opened this issue Jul 17, 2023 · 2 comments

Comments

@lynrayy
Copy link

lynrayy commented Jul 17, 2023

Can't install this on 3.11

@lynrayy
Copy link
Author

lynrayy commented Jul 17, 2023

ImportError: Building module superxbr.superxbr failed: ["distutils.errors.CompileError: command 'D:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2\n"]

@nimaid
Copy link

nimaid commented Apr 30, 2024

I am also getting this error. Using Miniconda and Python 3.11.4.

Here is a full log in case the details help:

C:\Users\Ella>pip install git+https://github.com/n0spaces/py-super-xbr
Collecting git+https://github.com/n0spaces/py-super-xbr
  Cloning https://github.com/n0spaces/py-super-xbr to c:\users\ella\appdata\local\temp\pip-req-build-5mx3t6mz
  Running command git clone --filter=blob:none --quiet https://github.com/n0spaces/py-super-xbr 'C:\Users\Ella\AppData\Local\Temp\pip-req-build-5mx3t6mz'
  Resolved https://github.com/n0spaces/py-super-xbr to commit 59cee6d4b92b3a2cda497e1cb1af431499e51a29
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in c:\users\ella\miniconda3\envs\video\lib\site-packages (from py-super-xbr==0.0.1) (1.26.2)
Requirement already satisfied: Pillow>=7.1.2 in c:\users\ella\miniconda3\envs\video\lib\site-packages (from py-super-xbr==0.0.1) (10.1.0)
Building wheels for collected packages: py-super-xbr
  Building wheel for py-super-xbr (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 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\superxbr
      copying superxbr\__init__.py -> build\lib.win-amd64-cpython-311\superxbr
      copying superxbr\__main__.py -> build\lib.win-amd64-cpython-311\superxbr
      running build_ext
      building 'superxbr.superxbr' extension
      creating build\temp.win-amd64-cpython-311
      creating build\temp.win-amd64-cpython-311\Release
      creating build\temp.win-amd64-cpython-311\Release\superxbr
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Ella\miniconda3\envs\video\Lib\site-packages\numpy\core\include -IC:\Users\Ella\miniconda3\envs\video\include -IC:\Users\Ella\miniconda3\envs\video\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" /Tcsuperxbr/superxbr.c /Fobuild\temp.win-amd64-cpython-311\Release\superxbr/superxbr.obj
      superxbr.c
      superxbr/superxbr.c(196): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or directory
      error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for py-super-xbr
  Running setup.py clean for py-super-xbr
Failed to build py-super-xbr
ERROR: Could not build wheels for py-super-xbr, which is required to install pyproject.toml-based projects

EDIT: Also on Python 3.12:

C:\Users\Ella>pip install git+https://github.com/n0spaces/py-super-xbr
Collecting git+https://github.com/n0spaces/py-super-xbr
  Cloning https://github.com/n0spaces/py-super-xbr to c:\users\ella\appdata\local\temp\pip-req-build-pov5ysok
  Running command git clone --filter=blob:none --quiet https://github.com/n0spaces/py-super-xbr 'C:\Users\Ella\AppData\Local\Temp\pip-req-build-pov5ysok'
  Resolved https://github.com/n0spaces/py-super-xbr to commit 59cee6d4b92b3a2cda497e1cb1af431499e51a29
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in c:\users\ella\miniconda3\envs\acnh\lib\site-packages (from py-super-xbr==0.0.1) (1.26.4)
Collecting Pillow>=7.1.2 (from py-super-xbr==0.0.1)
  Downloading pillow-10.3.0-cp312-cp312-win_amd64.whl.metadata (9.4 kB)
Downloading pillow-10.3.0-cp312-cp312-win_amd64.whl (2.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 5.6 MB/s eta 0:00:00
Building wheels for collected packages: py-super-xbr
  Building wheel for py-super-xbr (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-312
      creating build\lib.win-amd64-cpython-312\superxbr
      copying superxbr\__init__.py -> build\lib.win-amd64-cpython-312\superxbr
      copying superxbr\__main__.py -> build\lib.win-amd64-cpython-312\superxbr
      running build_ext
      building 'superxbr.superxbr' extension
      creating build\temp.win-amd64-cpython-312
      creating build\temp.win-amd64-cpython-312\Release
      creating build\temp.win-amd64-cpython-312\Release\superxbr
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Ella\miniconda3\envs\acnh\Lib\site-packages\numpy\core\include -IC:\Users\Ella\miniconda3\envs\acnh\include -IC:\Users\Ella\miniconda3\envs\acnh\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" /Tcsuperxbr/superxbr.c /Fobuild\temp.win-amd64-cpython-312\Release\superxbr/superxbr.obj
      superxbr.c
      superxbr/superxbr.c(196): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or directory
      error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for py-super-xbr
  Running setup.py clean for py-super-xbr
Failed to build py-super-xbr
ERROR: Could not build wheels for py-super-xbr, which is required to install pyproject.toml-based projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants