-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not working on latest python #13
Comments
Can you report the error message that you're seeing? |
Tested on Python 3.12.6, Windows. Collecting zget
Using cached zget-0.11.1-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting netifaces<0.10.5 (from zget)
Using cached netifaces-0.10.4.tar.gz (22 kB)
Preparing metadata (setup.py) ... done
Collecting progressbar2 (from zget)
Using cached progressbar2-4.5.0-py3-none-any.whl.metadata (16 kB)
Collecting requests (from zget)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting zeroconf<0.17.6 (from zget)
Using cached zeroconf-0.17.5-py2.py3-none-any.whl.metadata (8.8 kB)
Collecting enum-compat (from zeroconf<0.17.6->zget)
Using cached enum_compat-0.0.3-py3-none-any.whl.metadata (954 bytes)
Requirement already satisfied: six in c:\users\funatsu\appdata\roaming\python\python312\site-packages (from zeroconf<0.17.6->zget) (1.16.0)
Collecting python-utils>=3.8.1 (from progressbar2->zget)
Using cached python_utils-3.9.0-py2.py3-none-any.whl.metadata (9.8 kB)
Collecting charset-normalizer<4,>=2 (from requests->zget)
Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl.metadata (34 kB)
Collecting idna<4,>=2.5 (from requests->zget)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\funatsu\appdata\roaming\python\python312\site-packages (from requests->zget) (1.26.19)
Collecting certifi>=2017.4.17 (from requests->zget)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting typing-extensions>3.10.0.2 (from python-utils>=3.8.1->progressbar2->zget)
Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Using cached zget-0.11.1-py2.py3-none-any.whl (10 kB)
Using cached zeroconf-0.17.5-py2.py3-none-any.whl (22 kB)
Using cached progressbar2-4.5.0-py3-none-any.whl (57 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl (100 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached python_utils-3.9.0-py2.py3-none-any.whl (32 kB)
Using cached enum_compat-0.0.3-py3-none-any.whl (1.3 kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Building wheels for collected packages: netifaces
Building wheel for netifaces (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
running bdist_wheel
running build
running build_ext
building 'netifaces' extension
creating build\temp.win-amd64-cpython-312\Release
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWIN32=1 -DNETIFACES_VERSION=0.10.4 -IC:\Users\funatsu\.conda\envs\py312\include -IC:\Users\funatsu\.conda\envs\py312\Include "-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.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" /Tcnetifaces.c /Fobuild\temp.win-amd64-cpython-312\Release\netifaces.obj
netifaces.c
netifaces.c(664): warning C4996: 'WSAAddressToStringA': Use WSAAddressToStringW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
netifaces.c(674): warning C4996: 'WSAAddressToStringA': Use WSAAddressToStringW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
netifaces.c(746): warning C4996: 'WSAAddressToStringA': Use WSAAddressToStringW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
netifaces.c(756): warning C4996: 'WSAAddressToStringA': Use WSAAddressToStringW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
netifaces.c(1321): warning C4013: 関数 'PyUnicode_FromUnicode' は定義されていません。int 型の値を返す外部関数と見 なします。
netifaces.c(1321): warning C4047: '=': 間接参照のレベルが 'PyObject *' と 'int' で異なっています。
netifaces.c(1424): warning C4047: '=': 間接参照のレベルが 'PyObject *' と 'int' で異なっています。
netifaces.c(1296): warning C4996: 'WSAAddressToStringA': Use WSAAddressToStringW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
creating C:\Users\funatsu\AppData\Local\Temp\pip-install-y8ruavbq\netifaces_5208a7c7d05e4417b3006e3ea8a37ce4\build\lib.win-amd64-cpython-312
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\funatsu\.conda\envs\py312\libs /LIBPATH:C:\Users\funatsu\.conda\envs\py312 /LIBPATH:C:\Users\funatsu\.conda\envs\py312\PCbuild\amd64 "/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\10\lib\10.0.22621.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.22621.0\\um\x64" ws2_32.lib iphlpapi.lib /EXPORT:PyInit_netifaces build\temp.win-amd64-cpython-312\Release\netifaces.obj /OUT:build\lib.win-amd64-cpython-312\netifaces.cp312-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-312\Release\netifaces.cp312-win_amd64.lib
ライブラリ build\temp.win-amd64-cpython-312\Release\netifaces.cp312-win_amd64.lib とオブジェクト build\temp.win-amd64-cpython-312\Release\netifaces.cp312-win_amd64.exp を作成中
netifaces.obj : error LNK2001: 外部シンボル PyUnicode_FromUnicode は未解決です
build\lib.win-amd64-cpython-312\netifaces.cp312-win_amd64.pyd : fatal error LNK1120: 1 件の未解決の外部参照
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for netifaces
Running setup.py clean for netifaces
Failed to build netifaces
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (netifaces) |
Ah, netifaces won't build. Can you give the last Python version that worked for you, and try to install plain |
@nils-werner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pip install zget
only works on old python (like Python 3.9)The text was updated successfully, but these errors were encountered: