枕头安装错误:命令“ gcc”失败,退出状态为1

moshushi

我正在尝试设置Django变体(Wagtail),但在安装所需的枕头时遇到问题。

背景:Python 2.6.6virtualenv中使用Mac终端运行使用Mac终端具有对A Small Orange上托管的域的shell访问权限no root access,无法使用sudo命令

当我跑步

pip install Pillow

我得到以下错误:

  Downloading/unpacking Pillow
  Downloading Pillow-2.3.0.zip (2.4MB): 2.4MB downloaded
  Running setup.py (path:/home/clarayee/.env/env/build/Pillow/setup.py) egg_info for package Pillow
  Installing collected packages: Pillow
  Running setup.py install for Pillow
    building 'PIL._imaging' extension
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/clarayee/.env/env/build/Pillow/libImaging -I/home/clarayee/.env/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.6 -c _imaging.c -o build/temp.linux-x86_64-2.6/_imaging.o
    unable to execute gcc: Permission denied
    error: command 'gcc' failed with exit status 1
    Complete output from command /home/clarayee/.env/env/bin/python -c "import setuptools, tokenize;__file__='/home/clarayee/.env/env/build/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nCrvqa-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/clarayee/.env/env/include/site/python2.6:
    running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-2.6

creating build/lib.linux-x86_64-2.6/PIL

copying PIL/MicImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/TiffTags.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageWin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageFileIO.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/SunImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImagePalette.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ArgImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/Image.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/PngImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImagePath.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageFile.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageMath.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/PcfFontFile.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageTk.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/GdImageFile.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/__init__.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/_util.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/MspImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/FliImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageEnhance.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/TarIO.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageColor.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/BdfFontFile.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/JpegPresets.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/GimpGradientFile.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageQt.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageCms.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/CurImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageMode.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageChops.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ContainerIO.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/GifImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/WalImageFile.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageDraw2.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageFont.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageOps.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/OleFileIO.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/PSDraw.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageTransform.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageDraw.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/FontFile.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ExifTags.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageFilter.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageShow.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageSequence.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/PaletteFile.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageStat.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/_binary.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/tests.py -> build/lib.linux-x86_64-2.6/PIL

copying PIL/ImageGrab.py -> build/lib.linux-x86_64-2.6/PIL

running egg_info

writing dependency_links to Pillow.egg-info/dependency_links.txt

writing Pillow.egg-info/PKG-INFO

writing top-level names to Pillow.egg-info/top_level.txt

warning: manifest_maker: standard file '-c' not found

reading manifest file 'Pillow.egg-info/SOURCES.txt'

reading manifest template 'MANIFEST.in'

writing manifest file 'Pillow.egg-info/SOURCES.txt'

running build_ext

building 'PIL._imaging' extension

creating build/temp.linux-x86_64-2.6/libImaging

gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/home/clarayee/.env/env/build/Pillow/libImaging -I/home/clarayee/.env/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.6 -c _imaging.c -o build/temp.linux-x86_64-2.6/_imaging.o

unable to execute gcc: Permission denied

error: command 'gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /home/clarayee/.env/env/bin/python -c "import setuptools, tokenize;__file__='/home/clarayee/.env/env/build/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nCrvqa-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/clarayee/.env/env/include/site/python2.6 failed with error code 1 in /home/clarayee/.env/env/build/Pillow
Storing debug log for failure in /home/clarayee/.pip/pip.log

与运行easy_install时的问题相同。将不胜感激!

moshushi

解决了。Priyank Patel是正确的……这是服务器端权限问题。谢谢你们!

无法执行gcc:权限被拒绝。要求托管服务提供商为您运行命令。–昨天,普里扬克·帕特尔(Priyank Patel)

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

安装枕头错误:安装脚本退出,并出现错误:命令“ x86_64-linux-gnu-gcc”失败,退出状态为1

来自分类Dev

无法安装 kyotocabinet 命令“gcc”失败,退出状态为 1

来自分类Dev

Kerberos安装错误,错误:安装脚本退出,错误:命令“ i686-linux-gnu-gcc”失败,退出状态为1

来自分类Dev

错误:命令“ gcc”失败,退出状态为CentOS 1

来自分类Dev

错误:命令“ gcc”失败,退出状态为1,安装了Fatiando(Python软件包)

来自分类Dev

无法安装rpi_ws281x“错误:命令'gcc'失败,退出状态为1”

来自分类Dev

无法安装Scrapy:“错误:命令'gcc'失败,退出状态为1”?

来自分类Dev

在Windows 64位上安装cx_Oracle时,命令'gcc'失败,退出状态为1

来自分类Dev

virtualenv中的“错误:命令'x86_64-linux-gnu-gcc'失败,退出状态为1”

来自分类Dev

pip install pyhs2 错误:命令“gcc”失败,退出状态为 1

来自分类Dev

H5PY安装:错误命令“ x86_64-linux-gnu-gcc”失败,退出状态为1

来自分类Dev

错误:在高山docker映像上安装pip软件包时,命令'gcc'失败,退出状态为1

来自分类Dev

H5PY安装:错误命令“ x86_64-linux-gnu-gcc”失败,退出状态为1

来自分类Dev

安装脚本退出并显示错误:安装PyNaCl时,命令'x86_64-linux-gnu-gcc'失败,退出状态为1

来自分类Dev

安装scrapy 0.22时出错(在Ubuntu 12.04上):“ gcc”失败,退出状态为1

来自分类Dev

错误-“ bower安装”失败,退出状态为1

来自分类Dev

错误:命令“ cc”失败,在Mac上为pip安装MySQL-python退出状态为1

来自分类Dev

pip install psycopg2-错误:命令“ x86_64-linux-gnu-gcc”失败,退出状态为1

来自分类Dev

在 Google Colab 笔记本中安装 tsne:错误:命令“x86_64-linux-gnu-gcc”失败,退出状态为 1

来自分类Dev

无法使用pip安装折扣:错误:命令'cc'失败,退出状态为1

来自分类Dev

安装`dulwich`会产生`错误:命令'clang'失败,退出状态为1`

来自分类Dev

运行easy_install PIL时,出现错误:安装脚本退出,错误:命令'cc'失败,退出状态为1

来自分类Dev

运行easy_install PIL时,出现错误:安装脚本退出,错误:命令'cc'失败,退出状态为1

来自分类Dev

VerificationError:CompileError:命令“ cc”失败,退出状态为1

来自分类Dev

pip install MySQL-python在ubuntu 14.04上失败,错误:命令'x86_64-linux-gnu-gcc'失败,退出状态为1

来自分类Dev

pip install MySQL-python在ubuntu 14.04上失败,错误:命令'x86_64-linux-gnu-gcc'失败,退出状态为1

来自分类Dev

错误:安装pyaudio时命令错误,退出状态为1

来自分类Dev

Scrapy安装失败-退出状态1错误

来自分类Dev

错误:命令错误,退出状态为1

Related 相关文章

  1. 1

    安装枕头错误:安装脚本退出,并出现错误:命令“ x86_64-linux-gnu-gcc”失败,退出状态为1

  2. 2

    无法安装 kyotocabinet 命令“gcc”失败,退出状态为 1

  3. 3

    Kerberos安装错误,错误:安装脚本退出,错误:命令“ i686-linux-gnu-gcc”失败,退出状态为1

  4. 4

    错误:命令“ gcc”失败,退出状态为CentOS 1

  5. 5

    错误:命令“ gcc”失败,退出状态为1,安装了Fatiando(Python软件包)

  6. 6

    无法安装rpi_ws281x“错误:命令'gcc'失败,退出状态为1”

  7. 7

    无法安装Scrapy:“错误:命令'gcc'失败,退出状态为1”?

  8. 8

    在Windows 64位上安装cx_Oracle时,命令'gcc'失败,退出状态为1

  9. 9

    virtualenv中的“错误:命令'x86_64-linux-gnu-gcc'失败,退出状态为1”

  10. 10

    pip install pyhs2 错误:命令“gcc”失败,退出状态为 1

  11. 11

    H5PY安装:错误命令“ x86_64-linux-gnu-gcc”失败,退出状态为1

  12. 12

    错误:在高山docker映像上安装pip软件包时,命令'gcc'失败,退出状态为1

  13. 13

    H5PY安装:错误命令“ x86_64-linux-gnu-gcc”失败,退出状态为1

  14. 14

    安装脚本退出并显示错误:安装PyNaCl时,命令'x86_64-linux-gnu-gcc'失败,退出状态为1

  15. 15

    安装scrapy 0.22时出错(在Ubuntu 12.04上):“ gcc”失败,退出状态为1

  16. 16

    错误-“ bower安装”失败,退出状态为1

  17. 17

    错误:命令“ cc”失败,在Mac上为pip安装MySQL-python退出状态为1

  18. 18

    pip install psycopg2-错误:命令“ x86_64-linux-gnu-gcc”失败,退出状态为1

  19. 19

    在 Google Colab 笔记本中安装 tsne:错误:命令“x86_64-linux-gnu-gcc”失败,退出状态为 1

  20. 20

    无法使用pip安装折扣:错误:命令'cc'失败,退出状态为1

  21. 21

    安装`dulwich`会产生`错误:命令'clang'失败,退出状态为1`

  22. 22

    运行easy_install PIL时,出现错误:安装脚本退出,错误:命令'cc'失败,退出状态为1

  23. 23

    运行easy_install PIL时,出现错误:安装脚本退出,错误:命令'cc'失败,退出状态为1

  24. 24

    VerificationError:CompileError:命令“ cc”失败,退出状态为1

  25. 25

    pip install MySQL-python在ubuntu 14.04上失败,错误:命令'x86_64-linux-gnu-gcc'失败,退出状态为1

  26. 26

    pip install MySQL-python在ubuntu 14.04上失败,错误:命令'x86_64-linux-gnu-gcc'失败,退出状态为1

  27. 27

    错误:安装pyaudio时命令错误,退出状态为1

  28. 28

    Scrapy安装失败-退出状态1错误

  29. 29

    错误:命令错误,退出状态为1

热门标签

归档