当我尝试启动 django 开发服务器时,我突然开始收到此错误,我无法弄清楚它来自哪里。我试过更新 django。
File "/virtualEnv/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/runserver.py", line 6, in <module>
from django.contrib.staticfiles.handlers import StaticFilesHandler
File "/virtualEnv/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 9, in <module>
from django.core.handlers.base import get_path_info
ImportError: cannot import name get_path_info
有没有人见过这样的错误?绝对尽我最大的努力解决这个问题......