0

When I tried

pip3 install numpy 

I got the error as

SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.

Then I continue to install python-dev but got failed too.

I've also tried

sudo apt-get install python3-numpy

and got

The following packages have unmet dependencies:
 python3-numpy : Depends: liblapack3 but it is not going to be installed or
                      liblapack.so.3
Parto
  • 15,325
  • 24
  • 86
  • 117
李小慧
  • 1
  • 1

1 Answers1

0

Have you tried doing what it says. Installing dependencies?

sudo apt-get install python-dev liblapack3