Comments (2)
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"]
from py-super-xbr.
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
from py-super-xbr.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-super-xbr.