-1
我做以下步骤来在beginig运行djangocms
首先我安装的virtualenv和积极的它,然后我安装djangocms安装程序通过PIP .. 时,我想都跑djangocms djangocms -f -p . mysite
我得到了这个错误:
Traceback (most recent call last):
File "/home/sahar/cms/2/sahar/bin/djangocms", line 11, in <module>
sys.exit(execute())
File "/home/sahar/cms/2/sahar/lib/python3.5/site-packages/djangocms_installer/main.py", line 15, in execute
config_data = config.parse(sys.argv[1:])
File "/home/sahar/cms/2/sahar/lib/python3.5/site-packages/djangocms_installer/config/__init__.py", line 42, in parse
required=False, default=get_localzone(),
File "/home/sahar/cms/2/sahar/lib/python3.5/site-packages/tzlocal/unix.py", line 122, in get_localzone
_cache_tz = _get_localzone()
File "/home/sahar/cms/2/sahar/lib/python3.5/site-packages/tzlocal/unix.py", line 114, in _get_localzone
return pytz.tzfile.build_tzinfo('local', tzfile)
File "/home/sahar/cms/2/sahar/lib/python3.5/site-packages/pytz/tzfile.py", line 30, in build_tzinfo
typecnt, charcnt) = unpack(head_fmt, fp.read(head_size))
struct.error: unpack requires a bytes object of length 44
我的步骤有什么问题? 我请按照下列步骤从docs.django-cms