'pip' is not recognized as an internal or external command

前端 未结 30 2634
迷失自我
迷失自我 2020-11-21 05:41

I\'m running into a weird error when trying to install Django on my computer.

This is the sequence that I typed into my command line:



        
30条回答
  •  暖寄归人
    2020-11-21 06:26

    Alternate way.

    If you don't want to add the PATH as the previous well written answers pointed out,

    but you want to execute pip as your command then you can do that with py -m as prefix.

    Given that you have to do it again and again.

    eg.

    py -m 
    

    as in

    py -m pip install --upgrade pip setuptools
    

    Also make sure to have pip and py installed

提交回复
热议问题