推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
easydo
V2EX  ›  Python

谁帮我看一下python环境的配置

  •  
  •   easydo · May 23, 2013 · 4679 views
    This topic created in 4755 days ago, the information mentioned may be changed or developed.
    系统Ubuntu 13.04,内置python2.7.4,安装june总是在pip install -r etc/reqs-dev.txt时出错,高手帮助一下,谢谢了!

    -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/misaka.c -o build/temp.linux-x86_64-2.7/src/misaka.o

    src/misaka.c:4:20: fatal error: Python.h: No such file or directory

    compilation terminated.

    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
    Command /root/xiqi/easy/bin/python2.7 -c "import setuptools;__file__='/root/xiqi/easy/build/misaka/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-xKQ8OP-record/install-record.txt --single-version-externally-managed --install-headers /root/xiqi/easy/include/site/python2.7 failed with error code 1 in /root/xiqi/easy/build/misaka
    Storing complete log in /root/.pip/pip.log
    2 replies    1970-01-01 08:00:00 +08:00
    messense
        1
    messense  
       May 23, 2013
    试试先 apt-get install python-dev 再做这个?
    bradlee
        2
    bradlee  
       May 25, 2013 via iPhone
    楼上正解
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1307 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 17:20 · PVG 01:20 · LAX 10:20 · JFK 13:20
    ♥ Do have faith in what you're doing.