Open caryoscelus opened 9 months ago
Same for me,
creating build\temp.win-amd64-cpython-312\Release\btdht
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Sprooty\AppData\Local\Programs\Python\Python312\include -IC:\Users\Sprooty\AppData\Local\Programs\Python\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /Tcbtdht/dht.c /Fobuild\temp.win-amd64-cpython-312\Release\btdht/dht.obj
dht.c
btdht/dht.c(209): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\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 btdht
Building wheel for datrie (pyproject.toml) ... done
Created wheel for datrie: filename=datrie-0.8.2-cp312-cp312-win_amd64.whl size=135669 sha256=f51be20226820cfe02282af45643f2bcf18d1badef0a95210184f2030359f80f
Stored in directory: c:\users\sprooty\appdata\local\pip\cache\wheels\36\f1\b6\4d98a9936364144037fa0093ee8222d901a386b342827d355f
Successfully built datrie
Failed to build btdht
pip install btdht
fails withat the same time i'm able to successfully build after installing build deps, either directly in a git checkout or by using
pip install git+https://github.com/nitmir/btdht.git