Fatal error in launcher: Unable to create process using '"'

一、问题

在windows10上通过pip安装requests报错

C:\Users\Administrator>pip install requests
Fatal error in launcher: Unable to create process using '"'

二、解决办法

前面加python -m

C:\Users\Administrator>python -m pip install requests
Requirement already satisfied: requests in c:\windows\lib\site-packages
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\windows\lib\site-packages (from requests)
Requirement already satisfied: certifi>=2017.4.17 in c:\windows\lib\site-packages (from requests)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in c:\windows\lib\site-packages (from requests)
Requirement already satisfied: idna<2.8,>=2.5 in c:\windows\lib\site-packages (from requests)
You are using pip version 18.0, however version 19.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

这里提示pip需要更新,我们执行python -m pip install --upgrade pip命令更新:

C:\Users\Administrator>python -m pip install --upgrade pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl (1.4MB)
    100% |████████████████████████████████| 1.4MB 160kB/s
Installing collected packages: pip
  Found existing installation: pip 18.0
    Uninstalling pip-18.0:
      Successfully uninstalled pip-18.0
Successfully installed pip-19.0.3

更新成功后,再执行pip install requests,发现已经OK了,可以直接跑了。

C:\Users\Administrator>pip install requests
Requirement already satisfied: requests in c:\windows\lib\site-packages (2.19.1)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in c:\windows\lib\site-packages (from requests) (1.23)
Requirement already satisfied: certifi>=2017.4.17 in c:\windows\lib\site-packages (from requests) (2018.8.24)
Requirement already satisfied: idna<2.8,>=2.5 in c:\windows\lib\site-packages (from requests) (2.7)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\windows\lib\site-packages (from requests) (3.0.4)

Fatal error in launcher: Unable to create process using '"'

原文地址:https://www.cnblogs.com/diffx/p/10599150.html

时间: 2024-10-04 07:35:35

Fatal error in launcher: Unable to create process using '"'的相关文章

python pip fatal error in launcher unable to create process using

用pip安装一个包,不知道为啥,就报了这个错误:python pip fatal error in launcher unable to create process using “” 百度了一下,用下面的命令可以解决,搞定 python2 -m pip install XXX  另外,Python3 的pip我用python3 -m pip install --upgrade pip 搞定

【python】win10中python3.5.2输入pip出现Fatal error in launcher: Unable to create process using &#39;&quot;&#39;

系统:windows 10 python版本:3.5.2 出现的错误如下: C:\Users\zhuxy>pip list Fatal error in launcher: Unable to create process using '"' 尝试的解决办法: C:\Users\zhuxy>python -m pip install package Collecting package Downloading package-0.1.1.tar.gz Complete output

pip运行报错Fatal error in launcher: Unable to create process using pip.exe

使用pip的时候报错Fatal error in launcher: Unable to create process using pip.exe 解决办法,升级pip python -m pip install -U pip 或者 python -m pip install --upgrade pip

python多版本配置后使用pip出现 Fatal error in launcher: Unable to create process using &#39;&quot;&#39;

上一篇刚介绍了python的多版本环境配置,然后再我把python2的python.exe改成python2.exe之后,python2的pip就不好使了,出现了如题的错误... 然后解决办法也很简单,虽然略麻烦了一些 输入 python2 -m pip install XXX即可,上图: 这里numpy我已经装过了,所以这样显示,正常应该就是collecting XXXXX python多版本配置后使用pip出现 Fatal error in launcher: Unable to creat

使用报错:Fatal error in launcher: Unable to create process using &#39;&quot;&#39;

在一个系统中共存Python2.python3的时候,pip.pip2.pip3使用的时候会报错: c:\Python35\Scripts>pip3Fatal error in launcher: Unable to create process using '"' 解决方法: python3: python3 -m pip install --upgrade pip python2: python2 -m pip install --upgrade pip 注意:python2, pyt

【bugRecord4】Fatal error in launcher: Unable to create process using &#39;&quot;&quot;D:\Program Files\Python36\python.exe&quot;&quot; &quot;D:\Program Files\Python36\Scripts\pip.exe&quot; &#39;

环境信息: python版本:V3.6.4 安装路径:D:\Program Files\python36 环境变量PATH:D:\Program Files\Python36;D:\Program Files\Python36\Scripts; 问题描述:命令行执行pip报错 解决方法: 1.切换到D:\Program Files\Python36\Scripts 2.执行python pip.exe install SomePackage进行安装 3.安装成功后执行pip仍报错 4.查看安装成

python pip使用报错:Fatal error in launcher: Unable to create process using &#39;&quot;&#39;

系统win7 解决方法: python3: python3 -m pip install --upgrade pip python2: python2 -m pip install --upgrade pip 注意:python2, python3共存时,将python安装目录下的python.exe改成对应的python2.exe,python3.exe python pip使用报错:Fatal error in launcher: Unable to create process using

pip3 Fatal error in launcher: Unable to create process using &#39;&quot;&#39; [转]

在新环境上安装python的时候又再次遇到了这个情况,这次留意了一下,发现原来的文章有错误的地方,所以来更新一下,应该能解决大部分的问题. 环境是win8,原来只安装了python2.7.后来因为要用到python3,为了让两者共存,降python3的运行文件改成了python3.exe. 问题就此而来,这时候运行python3 的pip会遇到如下错误 Fatal error in launcher: Unable to create process using '" 但是运行pip2是好的.如

使用pip 时报错 Fatal error in launcher: Unable to create process using &#39;&quot;D:\pytghon2.7\python.exe&quot; &quot;D:\python2.7\S

无法创建使用pip.exe创建进程,说白了就是无法启动pip安装插件. 解决方法升级pip: python -m pip install -U pip 使用pip 时报错 Fatal error in launcher: Unable to create process using '"D:\pytghon2.7\python.exe" "D:\python2.7\S 原文地址:https://www.cnblogs.com/liuye1990/p/9397266.html

解决Fatal error in launcher: Unable to create process using &#39;&quot;&#39;

问题 分析原因 网上看了很多方案都说直接运行 python3 -m pip install --upgrade pip 来升级pip版本就好了,这个在大多数情况下都是有用的.因为重装以后会根据更改后的python的执行文件来创建关联. 但是如果你的pip已经是最新版本的话就行不通了,因为已经是最新的版本根本就不让你升级.那么就用下面的命令来强制重装 pip 解决 python27 -m pip install --upgrade --force-reinstall pip 并配置环境变量 解决F