Closed alexbprofit closed 1 year ago
ERROR: Failed building wheel for systemd Running setup.py clean for systemd Failed to build systemd Installing collected packages: systemd Running setup.py install for systemd ... error ERROR: Command errored out with exit status 1: command: 'd:\cc\pypy\test\scripts\pypy3.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Alex_PC\\AppData\\Local\\Temp\\pip-install-nrdbdggc\\systemd_3a9a9648dd584c87a765e9b827db3048\\setup.py'"'"'; __file__='"'"'C:\\Users\\Alex_PC\\AppData\\Local\\Temp\\pip-install-nrdbdggc\\systemd_3a9a9648dd584c87a765e9b827db3048\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Alex_PC\AppData\Local\Temp\pip-record-35u426md\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\cc\pypy\test\include\site\python3.7\systemd' cwd: C:\Users\Alex_PC\AppData\Local\Temp\pip-install-nrdbdggc\systemd_3a9a9648dd584c87a765e9b827db3048\ Complete output (29 lines): [1/3] Cythonizing systemd/_daemon.pyx d:\cc\pypy\test\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\Alex_PC\AppData\Local\Temp\pip-install-nrdbdggc\systemd_3a9a9648dd584c87a765e9b827db3048\systemd\_daemon.pyx tree = Parsing.p_module(s, pxd, full_module_name) [2/3] Cythonizing systemd/_journal.pyx d:\cc\pypy\test\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\Alex_PC\AppData\Local\Temp\pip-install-nrdbdggc\systemd_3a9a9648dd584c87a765e9b827db3048\systemd\_journal.pyx tree = Parsing.p_module(s, pxd, full_module_name) [3/3] Cythonizing systemd/reader.pyx d:\cc\pypy\test\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\Alex_PC\AppData\Local\Temp\pip-install-nrdbdggc\systemd_3a9a9648dd584c87a765e9b827db3048\systemd\reader.pyx tree = Parsing.p_module(s, pxd, full_module_name) D:\cc\pypy\lib-python\3\distutils\dist.py:274: UserWarning: Unknown distribution option: 'build_requires' warnings.warn(msg) running install running build running build_py creating build creating build\lib.win-amd64-3.7 creating build\lib.win-amd64-3.7\systemd copying systemd\daemon.py -> build\lib.win-amd64-3.7\systemd copying systemd\journal.py -> build\lib.win-amd64-3.7\systemd copying systemd\__init__.py -> build\lib.win-amd64-3.7\systemd running build_ext building 'systemd._daemon' extension creating build\temp.win-amd64-3.7 creating build\temp.win-amd64-3.7\Release creating build\temp.win-amd64-3.7\Release\systemd C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Id:\cc\pypy\test\include -ID:\cc\pypy\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt /Tcsystemd/_daemon.c /Fobuild\temp.win-amd64-3.7\Release\systemd/_daemon.obj _daemon.c systemd/_daemon.c(626): fatal error C1083: \u040c\u0490 г¤ \u0490вбп \xaeвЄалвм д \xa9\xab ўЄ\xabоз\u0490\xadЁ\u0490: systemd/sd-daemon.h: No such file or directory, error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29910\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2 ---------------------------------------- ERROR: Command errored out with exit status 1: 'd:\cc\pypy\test\scripts\pypy3.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Alex_PC\\AppData\\Local\\Temp\\pip-install-nrdbdggc\\systemd_3a9a9648dd584c87a765e9b827db3048\\setup.py'"'"'; __file__='"'"'C:\\Users\\Alex_PC\\AppData\\Local\\Temp\\pip-install-nrdbdggc\\systemd_3a9a9648dd584c87a765e9b827db3048\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Alex_PC\AppData\Local\Temp\pip-record-35u426md\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\cc\pypy\test\include\site\python3.7\systemd' Check the logs for full command output.
How to get systemd library for Windows?
The first question is "How to get systemd for windows?"