Fatal error in launcher: Unable to create process using '"d:\app\python\python37\python.exe" "E:\app\Python\Python37\Scripts\pip.exe" list'
 
C:\Users\Jilil>pip list
Fatal error in launcher: Unable to create process using '"d:\app\python\python37\python.exe" "E:\app\Python\Python37\Scripts\pip.exe" list'
 
C:\Users\Jilil>
C:\Users\Jilil>py
Python 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 10:41:24) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
 
C:\Users\Jilil>python -m pip install --upgrade pip
Collecting pip
Using cached https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.2.3
Uninstalling pip-19.2.3:
Successfully uninstalled pip-19.2.3
Successfully installed pip-21.0.1
 
C:\Users\Jilil>
C:\Users\Jilil>
C:\Users\Jilil>pip
 
Usage:
pip <command> [options]
 
Commands:
install Install packages.
download Download packages.
uninstall Uninstall packages.
freeze Output installed packages in requirements format.
list List installed packages.
show Show information about installed packages.
check Verify installed packages have compatible dependencies.
config Manage local and global configuration.
search Search PyPI for packages.
cache Inspect and manage pip's wheel cache.
wheel Build wheels from your requirements.
hash Compute hashes of package archives.
completion A helper command used for command completion.
debug Show information useful for debugging.
help Show help for commands.
 
General Options:
-h, --help Show help.
--isolated Run pip in an isolated mode, ignoring environment variables and user configuration.
-v, --verbose Give more output. Option is additive, and can be used up to 3 times.
-V, --version Show version and exit.
-q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to
WARNING, ERROR, and CRITICAL logging levels).
--log <path> Path to a verbose appending log.
--no-input Disable prompting for input.
--proxy <proxy> Specify a proxy in the form [user:passwd@]proxy.server:port.
--retries <retries> Maximum number of retries each connection should attempt (default 5 times).
--timeout <sec> Set the socket timeout (default 15 seconds).
--exists-action <action> Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup,
(a)bort.
--trusted-host <hostname> Mark this host or host:port pair as trusted, even though it does not have valid or any
HTTPS.
--cert <path> Path to alternate CA bundle.
--client-cert <path> Path to SSL client certificate, a single file containing the private key and the
certificate in PEM format.
--cache-dir <dir> Store the cache data in <dir>.
--no-cache-dir Disable the cache.
--disable-pip-version-check
Don't periodically check PyPI to determine whether a new version of pip is available for
download. Implied with --no-index.
--no-color Suppress colored output.
--no-python-version-warning
Silence deprecation warnings for upcoming unsupported Pythons.
--use-feature <feature> Enable new functionality, that may be backward incompatible.
--use-deprecated <feature> Enable deprecated functionality, that will be removed in the future.
 
C:\Users\Jilil>
C:\Users\Jilil>pip list
Package Version
--------------- ----------
beautifulsoup4 4.9.0
certifi 2020.4.5.1
chardet 3.0.4
idna 2.9
lxml 4.5.0
numpy 1.18.3
pandas 1.0.3
pip 21.0.1
prettytable 0.7.2
PyMySQL 0.9.3
python-dateutil 2.8.1
pytz 2019.3
requests 2.23.0
setuptools 41.2.0
six 1.14.0
soupsieve 2.0
urllib3 1.25.9
 
C:\Users\Jilil>
 
C:\Users\Jilil>pip list
Fatal error in launcher: Unable to create process using '"e:\app\python\python.exe" "E:\app\Python\Python3.9\Scripts\pip.exe" list': ???????????
 
 
C:\Users\Jilil>
C:\Users\Jilil>python -m pip install
ERROR: You must give at least one requirement to install (see "pip help install")
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'E:\app\Python\Python3.9\python.exe -m pip install --upgrade pip' command.
 
C:\Users\Jilil>
C:\Users\Jilil>python -m pip install --upgrade pip
Collecting pip
Using cached pip-21.0.1-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.2.3
Uninstalling pip-20.2.3:
Successfully uninstalled pip-20.2.3
Successfully installed pip-21.0.1
 
C:\Users\Jilil>pip list
Package Version
---------- -------
pip 21.0.1
setuptools 49.2.1
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))) - skipping
 
C:\Users\Jilil>
C:\Users\Jilil>pip install selenium
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))': /simple/selenium/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))': /simple/selenium/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))': /simple/selenium/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))': /simple/selenium/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))': /simple/selenium/
Could not fetch URL https://pypi.org/simple/selenium/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/selenium/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))) - skipping
ERROR: Could not find a version that satisfies the requirement selenium
ERROR: No matching distribution found for selenium
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))) - skipping
 
C:\Users\Jilil>pip install --trusted-host pypiorg --trusted-host files.pythonhoste.org selenium
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))': /simple/selenium/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))': /simple/selenium/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))': /simple/selenium/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))': /simple/selenium/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))': /simple/selenium/
Could not fetch URL https://pypi.org/simple/selenium/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/selenium/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))) - skipping
ERROR: Could not find a version that satisfies the requirement selenium
ERROR: No matching distribution found for selenium
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))) - skipping
 
C:\Users\Jilil>
 
 
Solution:
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org <package_name>
 
 
 
以上pip那么多报错 怎么都搞不定,都是因为我将pip升级了。重装python和pip之后并且不升级pip就可以正常安装package了
 
 
C:\Users\Jilil>pip list
Package Version
---------- -------
pip 20.2.3
setuptools 49.2.1
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'e:\app\python\python38\python.exe -m pip install --upgrade pip' command.
 
C:\Users\Jilil>python
Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
 
C:\Users\Jilil>
C:\Users\Jilil>pip install selenium
Collecting selenium
Downloading selenium-3.141.0-py2.py3-none-any.whl (904 kB)
|████████████████████████████████| 904 kB 5.1 kB/s
Collecting urllib3
Downloading urllib3-1.26.3-py2.py3-none-any.whl (137 kB)
|████████████████████████████████| 137 kB 10.0 kB/s
Installing collected packages: urllib3, selenium
Successfully installed selenium-3.141.0 urllib3-1.26.3
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'e:\app\python\python38\python.exe -m pip install --upgrade pip' command.
 
C:\Users\Jilil>pip install bs4
Collecting bs4
Downloading bs4-0.0.1.tar.gz (1.1 kB)
Collecting beautifulsoup4
Downloading beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
|████████████████████████████████| 115 kB 53 kB/s
Collecting soupsieve>1.2; python_version >= "3.0"
Downloading soupsieve-2.2-py3-none-any.whl (33 kB)
Using legacy 'setup.py install' for bs4, since package 'wheel' is not installed.
Installing collected packages: soupsieve, beautifulsoup4, bs4
Running setup.py install for bs4 ... done
Successfully installed beautifulsoup4-4.9.3 bs4-0.0.1 soupsieve-2.2
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'e:\app\python\python38\python.exe -m pip install --upgrade pip' command.
 
C:\Users\Jilil>
 
以后看到
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'e:\app\python\python38\python.exe -m pip install --upgrade pip' command.
不要鸟它就是了
 
 
 
 
 


最新文章

  1. XSS的防御
  2. ios 后台播放音乐1条注意事项
  3. 《android 导入第三方源码jar包遇到的坑》
  4. CSS缩放函数, 旋转函数与倾斜函数
  5. centos6.4安装配置vpn服务器步骤详解
  6. 判断GPS、网络是否开启
  7. UI:基础
  8. ASP.NET Web Forms的改进
  9. nginx 多域名配置 (nginx如何绑定多个域名)
  10. SQLServer使用规范(转载)
  11. 2016022602 - redis安装和启动
  12. UISearchDisplayController简单使用
  13. 瑞柏匡丞:app商业价值如何体现
  14. EditText判断用户输入完成,然后进行操作解决方案
  15. .net mvc笔记2_Essential C# Features
  16. YII使用PHPExcel导入Excel文件的方法
  17. 打开phpmyadmin显示高级功能尚未完全设置部分功能未激活
  18. Elasticsearch 学习(一):入门
  19. ActiveMQ 入门
  20. C++—模板(1)模板与函数模板

热门文章

  1. B - How Many Tables (多少桌)
  2. Educational Codeforces Round 43
  3. windows10上下载远程控制软件之后导致windows10亮度调节功能不能使用
  4. 【noi 2.6_2988】计算字符串距离(DP)
  5. 【2020杭电多校】Total Eclipse 并查集+思维
  6. Educational Codeforces Round 88 (Rated for Div. 2) B、New Theatre Square C、Mixing Water
  7. 安装python的selenium库和驱动
  8. 煎蛋网爬虫之JS逆向解析img路径
  9. java的两性
  10. Kafka官方文档V2.7