mac设置mysql搞砸了_尝试在Mac OSX上的virtualenv w/MySQL中安装Django CMS时出错

当我尝试使用virutalenv安装django CMS与MySQL时,我收到以下错误:

RuntimeError: maximum recursion depth exceeded

/Users/ethan/Sites/env/build/mysql-python/distribute-0.6.28-py2.7.egg

Traceback (most recent call last):

File "", line 17, in

File "/Users/ethan/Sites/env/build/mysql-python/setup.py", line 7, in

use_setuptools()

File "distribute_setup.py", line 145, in use_setuptools

return _do_download(version, download_base, to_dir, download_delay)

File "distribute_setup.py", line 125, in _do_download

_build_egg(egg, tarball, to_dir)

File "distribute_setup.py", line 116, in _build_egg

raise IOError('Could not build the egg.')

IOError: Could not build the egg.

----------------------------------------

Cleaning up...

Command python setup.py egg_info failed with error code 1 in /Users/ethan/Sites/env/build/mysql-python

我用于安装的命令如下:

env/bin/pip install --download-cache=~/.pip-cache -r reqs.txt

reqs.txt文件如下所示:

django-cms==2.4.1

Django==1.5.1

django-classy-tags==0.4

South==0.8.1

html5lib==1.0b1

django-mptt==0.5.2

django-sekizai==0.7

six==1.3.0

Pillow==2.0.0

django-filer==0.9.4

cmsplugin-filer==0.9.5

django-reversion==1.7

mysql-python==1.2.4

我是一个新手django(只是通过教程),我找不到任何似乎在解决这个问题的搜索.任何人都有什么想法?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值