0

Installing Caffe for Ubuntu 16.04 with this Install Guide.

When I run:

for req in $(cat requirements.txt); do pip install $req; done

I get:

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

What is it that I'm missing?

3
  • You're only showing the last line of the error message, the actual error should be a few lines earlier.
    – Timo
    Jul 30, 2017 at 8:03
  • 1
    That for-loop can also be replaced by pip install -r requirements.txt. Not sure why they do it like that.
    – Timo
    Jul 30, 2017 at 8:05
  • Possible duplicate. Jan 20, 2019 at 17:35

1 Answer 1

0

You have to install python-setuptools and python-dev first. To do so, open a terminal and type:

sudo apt-get install python-setuptools & python-dev -y

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .