Starting server: Command "python setup.py egg_info" failed with error code 1

1,751 views
Skip to first unread message

Guillermo Cano

unread,
Jul 4, 2015, 9:06:20 PM7/4/15
to edx-...@googlegroups.com
Hi, I'm trying to install a devstack edx and I'm having some problems. I found this post

https://groups.google.com/forum/#!searchin/edx-code/Command$20%22python$20setup.py$20egg_info%22$20failed$20with$20error$20code$201$20in/edx-code/FPfScH93R6M/5nvkOgolmvcJ

but didn't work for me.
When I try to start the server I get the next fail:


dxapp@precise64:~/edx-platform$ paver devstack studio
---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
Ruby prereqs unchanged, skipping...
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.prereqs.install_python_prereqs
pip install -q --exists-action w -r requirements/edx/pre.txt
You are using pip version 6.0.8, however version 7.1.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
pip install -q --exists-action w -r requirements/edx/github.txt
You are using pip version 6.0.8, however version 7.1.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
  Could not find a tag or branch '96e1922348bfe6d99201b9512a9ed946c87b7e0b', assuming commit.
  Could not find a tag or branch 'b0686a76f1ce3532088c4aee6e76b9abe61cc808', assuming commit.
  Could not find a tag or branch 'd89aae2a82f2b', assuming commit.
[... more lines with the same content ....]
  Could not find a tag or branch 'a286e89c73e1b788e35ac5b08a54b71a9fa63cfd', assuming commit.
  Could not find a tag or branch '64a8b603f42669bb7fdca03d364d4e8d3d6ad67d', assuming commit.
  Could not find a tag or branch '172a90fd2738f8142c10478356b2d9ed3e55334a', assuming commit.
pip install -q --exists-action w -r requirements/edx/local.txt
You are using pip version 6.0.8, however version 7.1.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
pip install -q --exists-action w -r requirements/edx/base.txt
You are using pip version 6.0.8, however version 7.1.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
  meliae is potentially insecure and unverifiable.
  Requested meliae==0.4.0 (from -r requirements/edx/base.txt (line 53)), but installing version None
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-rNPjSe/dm.xmlsec.binding


Captured Task Output:
---------------------

---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
---> pavelib.prereqs.install_python_prereqs
pip install -q --exists-action w -r requirements/edx/pre.txt
pip install -q --exists-action w -r requirements/edx/github.txt
pip install -q --exists-action w -r requirements/edx/local.txt
pip install -q --exists-action w -r requirements/edx/base.txt

Build failed running pavelib.servers.devstack: Subprocess return code: 1


By the way, I've already try to update pip, it looks like everything is ok(Successfully installed pip-7.1.0
), but I always get that message when try the paver devstack studio.

I'm on Ubuntu 12.04.5.

Cheers,
Guillermo.

Gaurav Tyagi

unread,
Jul 7, 2015, 7:11:46 AM7/7/15
to edx-...@googlegroups.com
I am also facing exact same problem please suggest some thing if any one resolve this .

Nimisha Asthagiri

unread,
Jul 9, 2015, 2:16:29 PM7/9/15
to edx-...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/299f28ea-7557-4b81-ba7d-0f7ae5c7f594%40googlegroups.com.



--

Mobile, Technical Lead

edX | nim...@edx.org


Azim Pradhan

unread,
Sep 22, 2015, 8:03:21 PM9/22/15
to General Open edX discussion, nim...@mit.edu
The link that you provided leads to the same forum post that Guillermo said that he tried and didn't work. Has anyone been able to solve this problem and successful run the server? I am having the exact same problem that Guillermo reported. Thanks in advance.

David Baumgold

unread,
Sep 23, 2015, 10:22:28 AM9/23/15
to General Open edX discussion
Azim and Guillermo, try deleting your edxapp virtualenv:

sudo -u edxapp rm -rf /edx/app/edxapp/venvs/edxapp

and then re-running ansible to re-create the virtualenv. If you're running with Cypress, or with the latest code, that should make it work properly.

David Baumgold

Rainie Le

unread,
Feb 10, 2016, 12:15:17 AM2/10/16
to General Open edX discussion
Hi I got the same problem on devstack studio. How can you re-running ansible to re-create the virtualenv? 
thanks

Andre Cavalheiro

unread,
Jan 24, 2018, 11:40:58 AM1/24/18
to General Open edX discussion
This error is still a  problem while installing devstack with the open-release/ficus.master. Anyone found a solution?

Reply all
Reply to author
Forward
0 new messages