Closed EKivutha closed 2 years ago
Hey I got the following error while installing the yappi wheel
ERROR: Command errored out with exit status 1: command: /mnt/c/Users/USER/Documents/gitprojects/cs-api-dashboard-crud/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-x9pq_pue/yappi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-x9pq_pue/yappi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-8cv9dxrc cwd: /tmp/pip-install-x9pq_pue/yappi/ Complete output (14 lines): unable to execute 'cc': No such file or directory running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.8 copying yappi/yappi.py -> build/lib.linux-x86_64-3.8 running build_ext building '_yappi' extension creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/yappi x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/mnt/c/Users/USER/Documents/gitprojects/cs-api-dashboard-crud/venv/include -I/usr/include/python3.8 -c yappi/_yappi.c -o build/temp.linux-x86_64-3.8/yappi/_yappi.o unable to execute 'x86_64-linux-gnu-gcc': No such file or directory error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for yappi Running setup.py clean for yappi Failed to build yappi Installing collected packages: yappi Running setup.py install for yappi ... error ERROR: Command errored out with exit status 1: command: /mnt/c/Users/USER/Documents/gitprojects/cs-api-dashboard-crud/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-x9pq_pue/yappi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-x9pq_pue/yappi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-bmoz0ey7/install-record.txt --single-version-externally-managed --compile --install-headers /mnt/c/Users/USER/Documents/gitprojects/cs-api-dashboard-crud/venv/include/site/python3.8/yappi cwd: /tmp/pip-install-x9pq_pue/yappi/ Complete output (14 lines): unable to execute 'cc': No such file or directory running install running build running build_py creating build creating build/lib.linux-x86_64-3.8 copying yappi/yappi.py -> build/lib.linux-x86_64-3.8 running build_ext building '_yappi' extension creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/yappi x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/mnt/c/Users/USER/Documents/gitprojects/cs-api-dashboard-crud/venv/include -I/usr/include/python3.8 -c yappi/_yappi.c -o build/temp.linux-x86_64-3.8/yappi/_yappi.o unable to execute 'x86_64-linux-gnu-gcc': No such file or directory error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /mnt/c/Users/USER/Documents/gitprojects/cs-api-dashboard-crud/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-x9pq_pue/yappi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-x9pq_pue/yappi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-bmoz0ey7/install-record.txt --single-version-externally-managed --compile --install-headers /mnt/c/Users/USER/Documents/gitprojects/cs-api-dashboard-crud/venv/include/site/python3.8/yappi Check the logs for full command output.
There seems to be no C compiler on the system.
unable to execute 'cc': No such file or directory
This will be fixed with the wheel release.
Hey I got the following error while installing the yappi wheel