no acceptable C compiler found in $PATH when installing python

前端 未结 11 836
野性不改
野性不改 2020-11-28 18:30

I\'m trying to install new python environment on my shared hosting. I follow the steps written in this post:

mkdir ~/src
wget http://www.python.org/ftp/pytho         


        
11条回答
  •  执笔经年
    2020-11-28 19:15

    for Ubuntu / Debian :

    # sudo apt-get install build-essential
    

    For RHEL/CentOS

    #rpm -qa | grep gcc
    # yum install gcc glibc glibc-common gd gd-devel -y
    

    or

     # yum groupinstall "Development tools" -y
    

    More details refer the link

提交回复
热议问题