You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason it happens is because github VM did not behave as I expected (or as my machine did) when it's packing source file. The binaries worked well, but we only built binaries on Catalina(10.15), not Mavericks(10.9). When you try to install it from pip, it falls back to src tar and built from source, which lacks the header file by mistake.
I edit the MANIFEST.in to ensure header file is included in the source tar and fixed this issue on 0.3.2. However, I still recommend to upgrade your OS. 10.9 is a long time ago.
If you can install 0.3.2, you can close this issue(or I can do it if I did not hear from you again :) )
Python version: 3.8
Pip version: 19.2.3
building 'viztracer.snaptrace' extension
creating build/temp.macosx-10.9-x86_64-3.8
creating build/temp.macosx-10.9-x86_64-3.8/src
creating build/temp.macosx-10.9-x86_64-3.8/src/viztracer
creating build/temp.macosx-10.9-x86_64-3.8/src/viztracer/modules
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/viztracer/modules/snaptrace.c -o build/temp.macosx-10.9-x86_64-3.8/src/viztracer/modules/snaptrace.o
src/viztracer/modules/snaptrace.c:7:10: fatal error: 'snaptrace.h' file not found
#include "snaptrace.h"
^~~~~~~~~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-pa66p68y/viztracer/setup.py'"'"'; file='"'"'/private/tmp/pip-install-pa66p68y/viztracer/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-sm6349sn/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
The text was updated successfully, but these errors were encountered: