python:无法打开文件get-pip.py错误2]没有此类文件或目录 [英] python: can't open file get-pip.py error 2] no such file or directory

查看:568
本文介绍了python:无法打开文件get-pip.py错误2]没有此类文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在CMD中执行此操作

When I am trying to execute this in CMD

python get-pip.py

我收到此错误:

python: can't open file get-pip.py error 2] no such file or directory

文件存储在(get-pip.py)

While the file store in (get-pip.py)

C:\ Python27 \ Tools \ Scripts

C:\Python27\Tools\Scripts

推荐答案

尝试将cd放入带有脚本(cd "C:\Python27\Tools\Scripts")的文件夹中,或将此文件夹添加到您的PATH变量中.

Try to either cd into folder with script (cd "C:\Python27\Tools\Scripts") or add this folder to your PATH variable.

这篇关于python:无法打开文件get-pip.py错误2]没有此类文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆