Installing NumPy with pip fails on Ubuntu

前端 未结 5 750
星月不相逢
星月不相逢 2020-12-30 10:50

When I try:

$ sudo pip install numpy

on my Ubuntu 12.04 server, I get:

----------------------------------------------------         


        
5条回答
  •  春和景丽
    2020-12-30 11:39

    It seems like your system does not have gcc.

    Install build tools using following command:

    apt-get install build-essential python-dev
    

提交回复
热议问题