Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in pip install -r requirements.txt #2

Open
johnfelipe opened this issue Jun 6, 2021 · 1 comment
Open

error in pip install -r requirements.txt #2

johnfelipe opened this issue Jun 6, 2021 · 1 comment

Comments

@johnfelipe
Copy link

  WARNING: Installing from a newer Wheel-Version (1.1)
    Running setup.py install for python-snappy ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-r1fj0fc5/python-snappy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-r1fj0fc5/python-snappy/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-134jzbiu/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/python-snappy
         cwd: /tmp/pip-install-r1fj0fc5/python-snappy/
    Complete output (23 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.8
    creating build/lib.linux-x86_64-3.8/snappy
    copying snappy/snappy_cffi_builder.py -> build/lib.linux-x86_64-3.8/snappy
    copying snappy/__init__.py -> build/lib.linux-x86_64-3.8/snappy
    copying snappy/snappy_cffi.py -> build/lib.linux-x86_64-3.8/snappy
    copying snappy/__main__.py -> build/lib.linux-x86_64-3.8/snappy
    copying snappy/snappy_formats.py -> build/lib.linux-x86_64-3.8/snappy
    copying snappy/hadoop_snappy.py -> build/lib.linux-x86_64-3.8/snappy
    copying snappy/snappy.py -> build/lib.linux-x86_64-3.8/snappy
    running build_ext
    building 'snappy._snappy' extension
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/snappy
    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/usr/include/python3.8 -c snappy/snappymodule.cc -o build/temp.linux-x86_64-3.8/snappy/snappymodule.o
    snappy/snappymodule.cc:31:10: fatal error: snappy-c.h: No such file or directory
       31 | #include <snappy-c.h>
          |          ^~~~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-r1fj0fc5/python-snappy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-r1fj0fc5/python-snappy/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-134jzbiu/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/python-snappy Check the logs for full command output.
@johnfelipe
Copy link
Author

anyone
im in ubuntu 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant