当我尝试
pip3 install numpy
我收到错误
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
然后我继续安装python-dev但是也失败了。
我也尝试过
sudo apt-get install python3-numpy
并得到
The following packages have unmet dependencies:
python3-numpy : Depends: liblapack3 but it is not going to be installed or
liblapack.so.3
答案1
您是否尝试过按照说明进行操作。安装依赖项?
sudo apt-get install python-dev liblapack3