Why i cant install the numpy package using pip on Ubuntu 16.04?

Viewed 598

Im trying to install the numpy package with python3 (python --version returns Python 3.5.2), but it doesnt work. Somebody can help me please with this problem? When i use the command

pip install numpy

, the terminal return to me

Traceback (most recent call last):
  File "/home/fabricio/.local/bin/pip", line 7, in <module>
    from pip._internal.cli.main import main
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 60
    sys.stderr.write(f"ERROR: {exc}")
                                   ^
SyntaxError: invalid syntax

I've tried install using Python2.7 but it was dreprecation

1 Answers
Related