Pip install error. Setuptools.command not found

后端 未结 4 869
野的像风
野的像风 2021-01-07 21:38

I\'m using a clean instance of Ubuntu server and would like to install some python packages in my virtualenv.

I receive the following output from the command \'pip i

4条回答
  •  [愿得一人]
    2021-01-07 21:56

    Elaborating @elyase's Answer. First check for which python version you want to install setuptools. Normally both python versions comes default with debian or any linux distro. So, as per your requirement install setup tools using apt package manager

    For python 2.x

    sudo apt-get install python-setuptools
    

    For python 3.x

    sudo apt-get install python3-setuptools
    

提交回复
热议问题