wzyonggege / clean_blog

基于Django开发的简洁博客系统
83 stars 35 forks source link

各种报错 #1

Open icloudnote opened 6 years ago

icloudnote commented 6 years ago

你这边能验证一下python的版本和各个软件包的版本吗?既然将代码放到了github上面,就要对他人负责,我这边尝试了一下,各种报错。。。

afacode commented 6 years ago

部署的时候集静态文件时 python manage.py collectstatic
Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv) File "/home/afa/blog.afacode.top/env/lib/python3.4/site-packages/django/core/management/init.py", line 367, in execute_from_command_line utility.execute() File "/home/afa/blog.afacode.top/env/lib/python3.4/site-packages/django/core/management/init.py", line 341, in execute django.setup() File "/home/afa/blog.afacode.top/env/lib/python3.4/site-packages/django/init.py", line 27, in setup apps.populate(settings.INSTALLED_APPS) File "/home/afa/blog.afacode.top/env/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate app_config = AppConfig.create(entry) File "/home/afa/blog.afacode.top/env/lib/python3.4/site-packages/django/apps/config.py", line 90, in create module = import_module(entry) File "/home/afa/blog.afacode.top/env/lib/python3.4/importlib/init.py", line 109, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 2254, in _gcd_import File "", line 2237, in _find_and_load File "", line 2226, in _find_and_load_unlocked File "", line 1200, in _load_unlocked File "", line 1129, in _exec File "", line 1471, in exec_module File "", line 321, in _call_with_frames_removed File "/home/afa/blog.afacode.top/env/lib/python3.4/site-packages/xadmin/init.py", line 4, in from xadmin.sites import AdminSite, site File "/home/afa/blog.afacode.top/env/lib/python3.4/site-packages/xadmin/sites.py", line 9, in reload(sys) NameError: name 'reload' is not defined 是我的python版本太低了吗

febritecno commented 6 years ago

same

QaZqwefgh commented 6 years ago

blog 0001_initial is not exist! 大神 能整理下給個開箱即用的版本啊

realei commented 4 years ago

same