python-afl
python-afl copied to clipboard
Windows: fatal error C1083: Cannot open include file: 'sys/shm.h': No such file or directory
PS D:\code\pycharm\gym> pip install python-afl
Collecting python-afl
Downloading python-afl-0.7.3.tar.gz (16 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: python-afl
Building wheel for python-afl (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
command: 'D:\code\pycharm\gym\venv\Scripts\python.exe' 'D:\code\pycharm\gym\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\syx\AppData\Local\Temp\tmprq2zx137'
cwd: C:\Users\syx\AppData\Local\Temp\pip-install-pett7wq3\python-afl_caf359477d0e42a0986676ef4fc8ce7e
Complete output (11 lines):
<string>:104: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
running bdist_wheel
running build
running build_ext
creating build
creating build\temp.win-amd64-cpython-310
creating build\temp.win-amd64-cpython-310\Release
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\code\pyc
harm\gym\venv\include "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2032.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\P
ythonSoftwareFoundation.Python.3.10_3.10.2032.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.301
33\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXS
DK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:
\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcafl.c /Fobuild\temp.win-amd64-cpython-310\Release\afl.obj
afl.c
afl.c(765): fatal error C1083: 无法打开包括文件: “sys/shm.h”: No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Failed building wheel for python-afl
Failed to build python-afl
ERROR: Could not build wheels for python-afl, which is required to install pyproject.toml-based projects
WARNING: You are using pip version 21.3.1; however, version 22.2.2 is available.
You should consider upgrading via the 'D:\code\pycharm\gym\venv\Scripts\python.exe -m pip install --upgrade pip' command.
Windows is not supported. (AFL proper doesn't support Windows either.)
I guess I could try to make the error message more helpful, though.
I guess I could try to make the error message more helpful, though.
Done in 9e891d6b8e02b9da0e26b1c8ce4d6b2a48d8e7b7.