0
我收到以下錯誤跟蹤時,我試圖運行Python環境服務器:錯誤:pkg_resources.DistributionNotFound:在「Django的== 1.9.1」分配未找到
Traceback (most recent call last):
File "/home/web/.virtualenvs/kolibri/bin/kolibri", line 5, in <module>
from pkg_resources import load_entry_point
File "/home/web/.virtualenvs/kolibri/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2927, in <module>
@_call_aside
File "/home/web/.virtualenvs/kolibri/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside
f(*args, **kwargs)
File "/home/web/.virtualenvs/kolibri/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/web/.virtualenvs/kolibri/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 637, in _build_master
return cls._build_from_requirements(__requires__)
File "/home/web/.virtualenvs/kolibri/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/home/web/.virtualenvs/kolibri/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 829, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'django==1.9.1' distribution was not found and is required by kolibri
其有關的Django == 1.9.1。任何想法爲什麼發生這種情況?
是什麼KOLIBRI?其操作系統爲 – e4c5
。 http://kolibrios.org/ –
那麼它在這裏做什麼:/home/web/.virtualenvs/kolibri/bin/kolibri – e4c5