Building wheel for pymsalruntime - Microsoft Visual C++ 14.0
@iulico-1 已经在做这个了。
开始于 2025年1月30日。
评估
这个 Issue 还没有评估数据。
描述
Describe the bug
when trying to install pymsalruntime it shows an error related to wheel lib.
To Reproduce
Steps to reproduce the behavior:
- Go to Python 3.13.0.
- Run
python -m pip install pymsalruntime - See the error
Expected behavior
Successfully installed pymsalruntime
What you see instead
You will see the following error happening.
python.exe -m pip install --upgrade pymsalruntime
Collecting pymsalruntime
Using cached pymsalruntime-0.14.2.tar.gz (1.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pymsalruntime
Building wheel for pymsalruntime (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pymsalruntime (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-313\pymsalruntime
copying pymsalruntime\__init__.py -> build\lib.win-amd64-cpython-313\pymsalruntime
copying pymsalruntime\PyMsalRuntime.pyi -> build\lib.win-amd64-cpython-313\pymsalruntime
copying pymsalruntime\msalruntime.dll -> build\lib.win-amd64-cpython-313\pymsalruntime
running build_ext
building 'pymsalruntime.pymsalruntime' extension
creating build\temp.win-amd64-cpython-313\Release\pymsalruntime
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ibuild_resources -IC:\Users\myusername\AppData\Local\Programs\Python\Python313\include -IC:\Users\myusername\AppData\Local\Programs\Python\Python313\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\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" /Tcpymsalruntime/PyMsalRuntime.c /Fobuild\temp.win-amd64-cpython-313\Release\pymsalruntime/PyMsalRuntime.obj
PyMsalRuntime.c
pymsalruntime/PyMsalRuntime.c(860): warning C4996: 'Py_UNICODE': deprecated in 3.13
pymsalruntime/PyMsalRuntime.c(861): warning C4996: 'Py_UNICODE': deprecated in 3.13
pymsalruntime/PyMsalRuntime.c(16328): warning C4267: '=': conversion from 'size_t' to 'int32_t', possible loss of data
pymsalruntime/PyMsalRuntime.c(20977): warning C4013: '_PyDict_SetItem_KnownHash' undefined; assuming extern returning int
pymsalruntime/PyMsalRuntime.c(22488): warning C4013: '_PyUnicode_FastCopyCharacters' undefined; assuming extern returning int
pymsalruntime/PyMsalRuntime.c(24127): error C2198: 'int _PyLong_AsByteArray(PyLongObject *,unsigned char *,size_t,int,int,int)': too few arguments for call
pymsalruntime/PyMsalRuntime.c(24323): error C2198: 'int _PyLong_AsByteArray(PyLongObject *,unsigned char *,size_t,int,int,int)': too few arguments for call
pymsalruntime/PyMsalRuntime.c(24557): error C2198: 'int _PyLong_AsByteArray(PyLongObject *,unsigned char *,size_t,int,int,int)': too few arguments for call
pymsalruntime/PyMsalRuntime.c(24905): error C2198: 'int _PyLong_AsByteArray(PyLongObject *,unsigned char *,size_t,int,int,int)': too few arguments for call
pymsalruntime/PyMsalRuntime.c(25177): error C2198: 'int _PyLong_AsByteArray(PyLongObject *,unsigned char *,size_t,int,int,int)': too few arguments for call
Python 3.13.0
The MSAL Python version you are using
1.31.1
- 主要语言
- Python
- 星标
- 971
- 派生
- 223
- 平均合并
- 13 小时 48 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AzureAD/microsoft-authentication-library-for-python 的其他 Issue
-
needs attention untriaged
难度 4/5 3-5 天 新手友好度 48/100
AzureAD/microsoft-authentication-library-for-python#973 · 2 条评论 ·
-
AzureSDK bug P1
难度 4/5 3-5 天 新手友好度 48/100
-
http_client docstring does not say that timeout, verify and proxies only configure the default session可能已有人在做 @HardMax71 于 41 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 25/100
-
[Bug] The built-in retry never retries the token POST: HTTPAdapter(max_retries=1) keeps urllib3's default allowed_methods可能已有人在做 @HardMax71 于 47 天前认领。 未关闭bug untriaged
难度 2/5 1-3 小时 新手友好度 35/100
AzureAD/microsoft-authentication-library-for-python#957 · 3 条评论 ·
-
public-client untriaged
难度 5/5 一周以上 新手友好度 25/100
查看 AzureAD/microsoft-authentication-library-for-python 的全部 Issue
相似的 Issue
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 78/100
yunaremaia/proto-drift#22 ·
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 82/100
yunaremaia/memwatch#96 ·
-
bug good first issue
难度 1/5 1 小时以内 新手友好度 91/100
yunaremaia/ci-gate-watch#34 ·
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 85/100
yunaremaia/agent-capability-attestation#64 ·
维护者通常 1 天内回复
-
bug good first issue
难度 1/5 1 小时以内 新手友好度 86/100
yunaremaia/agent-call-graph#43 ·
维护者通常 1 天内回复