如何制作';pip';是否使用相同前缀的Python可执行文件?
我最近下载了32位的WindowsMSI安装程序Python2.7.10(出于兼容性原因,我使用该特定版本),并在启用“pip”的情况下安装了它。该工具工作正常,但似乎已经硬编码了Python解释器的使用路径: C:\Python27-from-msi>scripts\pip list You are using pip version 7.0.1, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. pip (7.0.1) setuptools (16.0) C:\Python27-from-msi>cd .. C:\>move Python27-from-msi Python27-from-msi-new 1 dir(s) moved. C:\>cd Python27-from-msi-new\ C:\Python27-from-msi-new>scripts\pip list Fatal error in launcher: Unable to create process using '"C:\Python27-from-msi\python.exe" "C:\Python27-from-msi-new\scripts\pip.exe" list' C:\Python27 from msi>scripts\pip列表 您使用的是pip版本7.0.1,但版本9.0.1可用。 您应该考虑通过“PIP安装升级PIP”命令进行升级。 pip(7.0.1) 设置工具(16.0) C:\Python27 from msi>cd。。 C:\>从msi移动Python27从msi移动Python27新建 已移动1个目录。 C:\>msi new的cd Python27\ C:\Python27 from msi new>scripts\pip列表 启动程序中出现致命错误:无法使用“C:\Python27 from msi\python.exe”或“C:\Python27 from msi new\scripts\pip.exe”列表创建进程 有没有办法使如何制作';pip';是否使用相同前缀的Python可执行文件?,python,windows,python-2.7,pip,Python,Windows,Python 2.7,Pip,我最近下载了32位的WindowsMSI安装程序Python2.7.10(出于兼容性原因,我使用该特定版本),并在启用“pip”的情况下安装了它。该工具工作正常,但似乎已经硬编码了Python解释器的使用路径: C:\Python27-from-msi>scripts\pip list You are using pip version 7.0.1, however version 9.0.1 is available. You should consider upgrading via the
pip
拾取与pip
本身前缀相同的python.exe
可执行文件(即Windows上的。\python.exe
)
值得一提的是,easy\u install.exe
的行为也一样。我假设这些可执行文件是在安装时使用类似的方法构建的,这是通过硬编码到Python解释器的路径来完成的