Installation trouble - Failed building wheel for cocotb
See original GitHub issueAfter an attempt to use cocotb a few months ago without success, I want to give it a second shot. I am using Windows 10 as OS. Now I want to install the tools on another computer, but the installation gives me some errors. For me the installation description is rather poor. Sometime its unknown where to download tools and what versions are needed. I manged to install Python (version 3.10), that’s rather easy. The same counts for Conda. But the make file installation gives me trouble, but that can be skipped, is only needed to run the testbenches. But I still don’t know where to download and which version. Installation of Microsoft Visual C++ is much more problematic. Only Visual C++ or also Studio? its should be version 14+, I installed version 16. But the installation of cocotb gives me really errors.
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX86\x64\cl.exe" /c /nologo /O2 /GL /DNDEBUG /MD /W4 -DGPILOG_EXPORTS= -D__STDC_FORMAT_MACROS= -DWIN32= -Icocotb\share\include -IC:\Users\Albert\AppData\Local\Programs\Python\Python310\include -IC:\Users\Albert\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpcocotb\share\lib\gpi_log\gpi_logging.cpp /Fobuild\temp.win-amd64-3.10\Release\cocotb\libs\libgpilog\cocotb\share\lib\gpi_log\gpi_logging.obj /permissive-
gpi_logging.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\cstdio(12): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.31.31103\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cocotb
Failed to build cocotb
ERROR: Could not build wheels for cocotb, which is required to install pyproject.toml-based projects
I did an update for pip, which was proposes with an earlier error message. Don’t know what is going on here. Placed the installation I did in a document. Is attached. Especially the red lines in the doc are unclear for me. Sorry I am a hardware guy, with only little software experience. CoCotb.docx e
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (7 by maintainers)
Top GitHub Comments
Oh yes. Thanks for the help!
Have your questions been answered?