之前装过几次python过程都挺顺利的,昨晚给新电脑装完python后,pip总是遇到问题提示找不到文件:python: can't open file 'get-pip.py': [Errno 2] No such file or directory
记录下解决过程:
1. 确认python的安装路径已经配置到环境变量中
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'