sahilsk11 / glide

Debug your resume in one click
https://glidecv.com
GNU General Public License v3.0
92 stars 14 forks source link

Encountered error while trying to install package python-snappy #11

Open carmargut opened 1 year ago

carmargut commented 1 year ago

When installing following this guide (glide/docs/installation.md), this is shown:

Installing collected packages: python-snappy, PyPDF2, pykerberos, docxpy, pymongo, pdf2image, gunicorn, dnspython, beautifulsoup4, autopep8, pdfminer.six, Flask-Cors
  DEPRECATION: python-snappy is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for python-snappy ... error
  error: subprocess-exited-with-error

  × Running setup.py install for python-snappy did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      running install
      running build
      running build_py
      creating build
      creating build/lib.macosx-10.15-x86_64-3.9
      creating build/lib.macosx-10.15-x86_64-3.9/snappy
      copying snappy/snappy.py -> build/lib.macosx-10.15-x86_64-3.9/snappy
      copying snappy/snappy_cffi.py -> build/lib.macosx-10.15-x86_64-3.9/snappy
      copying snappy/__init__.py -> build/lib.macosx-10.15-x86_64-3.9/snappy
      copying snappy/hadoop_snappy.py -> build/lib.macosx-10.15-x86_64-3.9/snappy
      copying snappy/snappy_formats.py -> build/lib.macosx-10.15-x86_64-3.9/snappy
      copying snappy/__main__.py -> build/lib.macosx-10.15-x86_64-3.9/snappy
      copying snappy/snappy_cffi_builder.py -> build/lib.macosx-10.15-x86_64-3.9/snappy
      running build_ext
      building 'snappy._snappy' extension
      creating build/temp.macosx-10.15-x86_64-3.9
      creating build/temp.macosx-10.15-x86_64-3.9/snappy
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/Users/carlos/Documents/github/glide/env/include -I/usr/local/Cellar/python@3.9/3.9.1_6/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c snappy/crc32c.c -o build/temp.macosx-10.15-x86_64-3.9/snappy/crc32c.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/Users/carlos/Documents/github/glide/env/include -I/usr/local/Cellar/python@3.9/3.9.1_6/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c snappy/snappymodule.cc -o build/temp.macosx-10.15-x86_64-3.9/snappy/snappymodule.o
      snappy/snappymodule.cc:31:10: fatal error: 'snappy-c.h' file not found
      #include <snappy-c.h>
               ^~~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

I'm using a Mac running Ventura 13.0