msgpack-python
msgpack-python copied to clipboard
Error installing on surface arm64 hardware
I have installed what I think are the necessary visual studio installer packages for arm.
installed tools from visual studio installer:
{
"version": "1.0",
"components": [
"Microsoft.VisualStudio.Component.Roslyn.Compiler",
"Microsoft.Component.MSBuild",
"Microsoft.VisualStudio.Component.CoreBuildTools",
"Microsoft.VisualStudio.Workload.MSBuildTools",
"Microsoft.VisualStudio.Component.Windows11SDK.22621",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64EC",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64",
"Microsoft.VisualStudio.Component.VC.Tools.ARM",
"Microsoft.VisualStudio.Component.VC.ATL.ARM",
"Microsoft.VisualStudio.Component.VC.ATL.ARM64",
"Microsoft.VisualStudio.Component.VC.MFC.ARM",
"Microsoft.VisualStudio.Component.VC.MFC.ARM64"
],
"extensions": []
}
I am trying to install poetry using pipx, but am failing on the step to install msgpack, when trying to install that by itself, it cant seem to find cl.exe
but I have installed the build tools using visual studio installer? So not sure where I am going wrong.
logfile:
PIP STDOUT
----------
Collecting msgpack
Using cached msgpack-1.1.0.tar.gz (167 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: msgpack
Building wheel for msgpack (pyproject.toml): started
Building wheel for msgpack (pyproject.toml): finished with status 'error'
Failed to build msgpack
PIP STDERR
----------
error: subprocess-exited-with-error
× Building wheel for msgpack (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
running bdist_wheel
running build
running build_py
creating build\lib.win-arm64-cpython-311\msgpack
copying msgpack\exceptions.py -> build\lib.win-arm64-cpython-311\msgpack
copying msgpack\ext.py -> build\lib.win-arm64-cpython-311\msgpack
copying msgpack\fallback.py -> build\lib.win-arm64-cpython-311\msgpack
copying msgpack\__init__.py -> build\lib.win-arm64-cpython-311\msgpack
running build_ext
building 'msgpack._cmsgpack' extension
creating build\temp.win-arm64-cpython-311\Release\msgpack
cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D__LITTLE_ENDIAN__=1 -I. -IC:\Users\oscar\pipx\venvs\msgpack\include -IC:\Users\oscar\scoop\apps\python311\current\include -IC:\Users\oscar\scoop\apps\python311\current\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" /Tcmsgpack/_cmsgpack.c /Fobuild\temp.win-arm64-cpython-311\Release\msgpack/_cmsgpack.obj
error: command 'cl.exe' failed: None
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for msgpack
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (msgpack)