pip is showing error 'lsb_release -a' returned non-zero exit status 1

前端 未结 10 889
迷失自我
迷失自我 2020-12-10 01:00

I am trying to install packages using pip and it is throwing error.

Command that I have used,

sudo pip install selenium

The error

10条回答
  •  孤街浪徒
    2020-12-10 01:57

    After installing python from source on Debian-9 (I did install those packages however) I had the same issue. This is how I solved it:

    /usr/local/bin/python3.x -m venv 
    . /bin/activate
    easy_install pip
    easy_install setuptools
    easy_install wheel
    pip install -U setuptools wheel pip
    

提交回复
热议问题