Форум сайта python.su
Сразу извиняюсь за наверное глупый вопрос: пытаюсь запустить проект, делаю:
python setup.py develop
pserve development.ini
Traceback (most recent call last): File "/usr/local/bin/pserve", line 9, in <module> load_entry_point('pyramid==1.3.2', 'console_scripts', 'pserve')() File "/usr/local/lib/python2.7/dist-packages/pyramid/scripts/pserve.py", line 47, in main return command.run() File "/usr/local/lib/python2.7/dist-packages/pyramid/scripts/pserve.py", line 288, in run relative_to=base, global_conf=vars) File "/usr/local/lib/python2.7/dist-packages/pyramid/scripts/pserve.py", line 315, in loadserver server_spec, name=name, relative_to=relative_to, **kw) File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 255, in loadserver return loadobj(SERVER, uri, name=name, **kw) File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 271, in loadobj global_conf=global_conf) File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext global_conf=global_conf) File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig return loader.get_context(object_type, name, global_conf) File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 454, in get_context section) File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 476, in _context_from_use object_type, name=use, global_conf=global_conf) File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 406, in get_context global_conf=global_conf) File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext global_conf=global_conf) File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 328, in _loadegg return loader.get_context(object_type, name, global_conf) File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 620, in get_context object_type, name=name) File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 640, in find_egg_entry_point pkg_resources.require(self.spec) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: Paste
Офлайн
pip install Paste
Офлайн
fata1ex, Большое спасибо, потом пришлось ещё кучу модулей доустановить.
Но вот теперь, когда делаю
pserve development.ini
socket.error: [Errno 98] Address already in use
Офлайн
порт уже занят, запусти на другом
Офлайн