Open CatamountJack opened 5 months ago
Same Error
uv version: uv 0.1.18 (43dc9c87a 2024-03-13)
platform: Windows 11 Pro 23H2 on x64
tracelog:
Resolved 41 packages in 11ms
error: Failed to download distributions
Caused by: Failed to fetch wheel: scikit-learn==1.0.2
Caused by: Failed to build: scikit-learn==1.0.2
Caused by: Build backend failed to build wheel through `build_wheel()` with exit code: 1
--- stdout:
INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
INFO: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\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 -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um /Tctest_program.c /Foobjects\test_program.obj
INFO: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 /LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\lib\x64 /LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\lib\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.22000.0\\um\x64 objects\test_program.obj /OUT:test_program.exe
INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils\
Log (of rye sync -v
) here. Not sure if rye is passing -v
to uv or not, I'm not using uv directly.
Having the same issue with pandas 2.1.0. 2.2.2 works just fine. However, my architecture is not x86 but AARCH64
Using
uv
(viarye
), it can't create x86 wheels for (some) dependencies on my x64 machine.I created my project with Python 3.12.2 x64 and all worked well, but I wanted to build a 32-bit executable. In rye, I set my
.python-version
tocpython-x86@3.12.2
and then ranrye sync
. This worked great on a different project, but the current project depends onpandas
and it's choking while trying to build a wheel for that.uv version:
uv 0.1.37 (645d0399f 2024-04-23)
rye version:
Platform:
Windows 11 Pro 23H2 on x64
Traceback:
Looks like maybe it's trying to use the x64 compiler instead of a 32-bit one? (is there anything additional I would need to do, like install a separate x86 compiler on my machine?)