Python packages hash not matching whilst installing using pip

前端 未结 7 824
甜味超标
甜味超标 2020-12-30 20:26

I am using pip to install all my python packages but get error as shown in the trace below. What is the problem and how can I solve it?

usr@comp:~$ pip insta         


        
7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-30 21:07

    You need to upgrade your pip into the newer version:

    Using this command:

    python -m pip install -upgrade pip
    

    for Mac/Linux operating system and use

    python -m pip install --upgrade tensorflow
    

    for Windows to update your pip. Then run your command

     pip install flask
    

提交回复
热议问题