当我运行我的 Django 应用程序时,我收到以下错误:
ViewDoesNotExist at /
Could not import sales.views. Error was: cannot import name pbkdf2
Request Method: GET
Request URL: localhost:8000/
Django Version: 1.3.2
Exception Type: ViewDoesNotExist
Exception Value:
Could not import sales.views. Error was: cannot import name pbkdf2
Exception Location: /usr/lib/python2.7/site-packages/django/core/urlresolvers.py in _get_callback, line 167
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/home/rodrigo/Develop/Projects/SaleSystem/sales',
'/usr/lib64/python27.zip',
'/usr/lib64/python2.7',
'/usr/lib64/python2.7/plat-linux2',
'/usr/lib64/python2.7/lib-tk',
'/usr/lib64/python2.7/lib-old',
'/usr/lib64/python2.7/lib-dynload',
'/usr/lib64/python2.7/site-packages',
'/usr/lib64/python2.7/site-packages/PIL',
'/usr/lib64/python2.7/site-packages/gst-0.10',
'/usr/lib64/python2.7/site-packages/gtk-2.0',
'/usr/lib/python2.7/site-packages',
'/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info']
为什么会这样?