尝试在Ubuntu 13.10 VPS上部署到virtualenv ...运行Python 3.3.2并且我无法弄清楚如何解决这个问题。
我试过做一个" pip install pylibmc"但这只是爆炸(我认为因为pylibmc不支持Python 3),但我并不确定。
无论如何,有人可以解释为什么我收到此消息以及如何解决我的设置问题?
更新:按要求回溯
Traceback (most recent call last):
File "test/manage.py", line 11, in <module>
execute_from_command_line(sys.argv)
File "/srv/www/test/venv/lib/python3.3/site-packages/Django-1.6.3-py3.3.egg/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/srv/www/test/venv/lib/python3.3/site-packages/Django-1.6.3-py3.3.egg/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/srv/www/test/venv/lib/python3.3/site-packages/Django-1.6.3-py3.3.egg/django/core/management/__init__.py", line 272, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/srv/www/test/venv/lib/python3.3/site-packages/Django-1.6.3-py3.3.egg/django/core/management/__init__.py", line 75, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/srv/www/test/venv/lib/python3.3/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1512, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1022, in load_module
File "<frozen importlib._bootstrap>", line 1003, in load_module
File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 868, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "/srv/www/test/venv/lib/python3.3/site-packages/south/management/commands/__init__.py", line 10, in <module>
import django.template.loaders.app_directories
File "/srv/www/test/venv/lib/python3.3/site-packages/Django-1.6.3-py3.3.egg/django/template/loaders/app_directories.py", line 25, in <module>
raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0]))
django.core.exceptions.ImproperlyConfigured: ImportError django.contrib.auth: No module named 'pylibmc'