1

I have tried pip install numpy and pip install numpy==1.13.3 and I keep getting this error:

 Command "/home/pi/.virtualenvs/venv_python36/bin/python3.6 -u -c
 "import setuptools,
 tokenize;__file__='/tmp/pip-build-f4w3ieb6/numpy/setup.py';f=getattr(tokenize,
 'open', open)(__file__);code=f.read().replace('\r\n',
 '\n');f.close();exec(compile(code, __file__, 'exec'))" install
 --record /tmp/pip-ngusfvpy-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/.virtualenvs/venv_python36/include/site/python3.6/numpy"
 failed with error code 1 in /tmp/pip-build-f4w3ieb6/numpy/

It works fine on python 3.5

Full log: https://pastebin.com/Jah0FVcc (too long to post)

2
  • Please post the full output returned after pip install numpy. There are more clues in there. (See for example how the output led to an answer in this post.) Commented Mar 24, 2018 at 13:33
  • @unutbu updated Commented Mar 24, 2018 at 14:25

1 Answer 1

1

pip install -U setuptools fixed the problem and I was able to install numpy without issues

Sign up to request clarification or add additional context in comments.

1 Comment

had to do this and also run pip install -U pip for me to install numpy on a virtualenv.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.