之前裝過幾次python過程都挺順利的,昨晚給新電腦裝完python后迅箩,pip總是遇到問題提示找不到文件:python: can't open file 'get-pip.py': [Errno 2] No such file or directory
記錄下解決過程:
1. 確認(rèn)python的安裝路徑已經(jīng)配置到環(huán)境變量中
2.? run CMD缠沈,CD 到python安裝路徑: ’\Python\Python37\Scripts’
3. run 'curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py'
4. run 'python get-pip.py'