在 OSX中安装satchmo

参考Windows的安装方法
1.安装"其它软件"
其中:
Python Imaging Library,Python cryptography toolkit,docutlis都可以在Fink中抓到相应的包为:pil-py25,pycrypto-py25,docutlis-py25
2.剩下的自己下包回来
3.将satchmo里头的 settings-customize.py,local_settings-customize.py 复制到myapp 下覆盖 settings.py,local_settings.py
4.运行
python manage.py satchmo_copy_urls
python manage.py satchmo_copy_static
python manage.py satchmo_copy_templates
开始是报错 Error: No module named comment_utils
然后从 http://code.google.com/p/django-comment-utils/downloads/list 下载回comment-utils 安装
错误又变成 Error: cannot import name newforms (郁闷)

之前satchmo版本太低,推到重来
1.新建一个satchmo 目录
2.svn co svn://satchmoproject.com/satchmo/trunk 检出最新的 satchmo
3.下载 http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c9.tar.gz#md5=3864c01d9c719c8924c455714492295e 安装 easy_install
4.
easy_install PIL
easy_install pycropto
easy_install http://code.enthought.com/enstaller/eggs/rhel/3/Reportlab-2.1.0001-py2.5.egg
easy_install django-registration
easy_install http://tinyforge.org/frs/download.php/1/trml2pdf.tar.gz
easy_install PyYAML
6.
easy_install docutils
easy_install elementtree
据说可选,一起装了
7.剩下的就跟windows的一样了
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值