Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Ah8Cmq/pymatbridge/

438 views
Skip to first unread message

Antonella Succurro

unread,
Nov 12, 2016, 2:56:09 PM11/12/16
to cobra pie
I am posting this for reference in case someone else encounters the same issue

I am freshly setting up a virtualenv for development (github master version, my OS is fedora) and I did
pip install --upgrade pip
pip install -r develop-requirements.txt

I got this error:
Collecting pymatbridge (from -r develop-requirements.txt (line 11))
  Using cached pymatbridge-0.5.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-TmZKMy/pymatbridge/setup.py", line 16, in <module>
        from pymatbridge.messenger.make import get_messenger_dir
      File "pymatbridge/__init__.py", line 1, in <module>
        from .pymatbridge import *
      File "pymatbridge/pymatbridge.py", line 28, in <module>
        import zmq
    ImportError: No module named zmq
   
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-TmZKMy/pymatbridge/


after a few unsuccessful web searches I got it working by doing

pip install zmq
pip install numpy
pip install -r develop-requirements.txt


no idea why!

cheers
antonella


Bhushan Dhamale

unread,
May 24, 2017, 1:25:08 AM5/24/17
to cobra pie
Got error Could not open requirements file: [Errno 2] No such file or directory: 'develop-requirements.txt' when executing pip install -r develop-requirements.txt. I nevrtheless proceeded with pip install cobra[all].
Worked like a charm after that! Thank you Antonella. :)
Reply all
Reply to author
Forward
0 new messages