Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. $ pip install scandir
  2. Collecting scandir
  3. Using cached scandir-1.5.tar.gz
  4. Building wheels for collected packages: scandir
  5. Running setup.py bdist_wheel for scandir ... error
  6. Complete output from command /home/ada/.virtualenvs/uapi/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-mO0hXC/scandir/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/tmp7R0mwnpip-wheel- --python-tag cp27:
  7. running bdist_wheel
  8. running build
  9. running build_py
  10. creating build
  11. creating build/lib.linux-x86_64-2.7
  12. copying scandir.py -> build/lib.linux-x86_64-2.7
  13. running build_ext
  14. building '_scandir' extension
  15. creating build/temp.linux-x86_64-2.7
  16. x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c _scandir.c -o build/temp.linux-x86_64-2.7/_scandir.o
  17. _scandir.c:14:20: fatal error: Python.h: No such file or directory
  18. #include <Python.h>
  19. ^
  20. compilation terminated.
  21. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  22.  
  23. ----------------------------------------
  24. Failed building wheel for scandir
  25. Running setup.py clean for scandir
  26. Failed to build scandir
  27. Installing collected packages: scandir
  28. Running setup.py install for scandir ... error
  29. Complete output from command /home/ada/.virtualenvs/uapi/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-mO0hXC/scandir/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-7C3Ypx-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ada/.virtualenvs/uapi/include/site/python2.7/scandir:
  30. running install
  31. running build
  32. running build_py
  33. creating build
  34. creating build/lib.linux-x86_64-2.7
  35. copying scandir.py -> build/lib.linux-x86_64-2.7
  36. running build_ext
  37. building '_scandir' extension
  38. creating build/temp.linux-x86_64-2.7
  39. x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c _scandir.c -o build/temp.linux-x86_64-2.7/_scandir.o
  40. _scandir.c:14:20: fatal error: Python.h: No such file or directory
  41. #include <Python.h>
  42. ^
  43. compilation terminated.
  44. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  45.  
  46. ----------------------------------------
  47. Command "/home/ada/.virtualenvs/uapi/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-mO0hXC/scandir/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-7C3Ypx-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ada/.virtualenvs/uapi/include/site/python2.7/scandir" failed with error code 1 in /tmp/pip-build-mO0hXC/scandir/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement