我在连接 edx Studio 时遇到问题。当我运行 paver devstack studio 时出现此错误
xmodule_assets common/static/xmodule
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/bin/xmodule_assets", line 5, in <module>
from pkg_resources import load_entry_point
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3084, in <module>
@_call_aside
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
f(*args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 651, in _build_master
ws.require(__requires__)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 952, in require
needed = self.resolve(parse_requirements(requirements))
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'XModule==0.1.1' distribution was not found and is required by the application
Captured Task Output:
---------------------
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=devstack preprocess_assets lms/static/sass/*.scss lms/static/themed_sass
python manage.py cms --settings=devstack preprocess_assets cms/static/sass/*.scss cms/static/themed_sass
xmodule_assets common/static/xmodule
Build failed running pavelib.assets.update_assets: Subprocess return code: 1
我以为我可以安装XModule
,pip install
但结果证明它不是一个包,因为 pip 给了我这个错误
Could not find a version that satisfies the requirement XModule (from versions: )
No matching distribution found for XModule
任何人都可以提供适当的解决方案