小编Jai*_*ida的帖子

构建Mercurial需要Python头文件

我一直在一步一步地关注着名为"django入门"的kennethlove的截屏视频.我陷入了"第6集:通用视图比Namebrand便宜".我正在尝试安装需要"Mercurial"的"django-annoying".

我使用OSX 10.8.2,当我在终端上运行时:pip install mercurial我收到以下消息.

  Downloading/unpacking mercurial
  Downloading mercurial-2.3.2.tar.gz (3.6MB): 3.6MB downloaded
  Running setup.py egg_info for package mercurial

    Python headers are required to build Mercurial
    Complete output from command python setup.py egg_info:
    running egg_info

creating pip-egg-info/mercurial.egg-info

writing pip-egg-info/mercurial.egg-info/PKG-INFO

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

writing dependency_links to pip-egg-info/mercurial.egg-info/dependency_links.txt

writing manifest file 'pip-egg-info/mercurial.egg-info/SOURCES.txt'

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



Python headers are required to build Mercurial

----------------------------------------
Command python setup.py egg_info failed with error code 1 in …
Run Code Online (Sandbox Code Playgroud)

django

9
推荐指数
2
解决办法
5676
查看次数

标签 统计

django ×1