初出茅庐多多指教 2016-07-12 12:27 采纳率: 100%
浏览 7039
已结题

python使用pip安装beautifulsoup4总是抛异常安装不了

python使用pip安装beautifulsoup4总是抛异常安装不了---

求解答

D:\Python27\Scripts>pip install beautifulsoup4
Collecting beautifulsoup4
D:\Python27\lib\site-packages\pip_vendor\requests\packages\urllib3\util\ssl_.py:318: SNIMissi
TPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not avail
tform. This may cause the server to present an incorrect TLS certificate, which can cause vali
You can upgrade to a newer version of Python to solve this. For more information, see https:/
docs.org/en/latest/security.html#snimissingwarning.
SNIMissingWarning
D:\Python27\lib\site-packages\pip_vendor\requests\packages\urllib3\util\ssl_.py:122: Insecure
A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropr
ause certain SSL connections to fail. You can upgrade to a newer version of Python to solve th
ormation, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading beautifulsoup4-4.4.1-py2-none-any.whl (81kB)
Exception:
Traceback (most recent call last):
File "D:\Python27\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "D:\Python27\lib\site-packages\pip\commands\install.py", line 299, in run
requirement_set.prepare_files(finder)
File "D:\Python27\lib\site-packages\pip\req\req_set.py", line 370, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "D:\Python27\lib\site-packages\pip\req\req_set.py", line 587, in prepare_file
session=self.session, hashes=hashes)
File "D:\Python27\lib\site-packages\pip\download.py", line 810, in unpack_url
hashes=hashes
File "D:\Python27\lib\site-packages\pip\download.py", line 649, in unpack_http_url
hashes)
File "D:\Python27\lib\site-packages\pip\download.py", line 871, in _download_http_url
_download_url(resp, link, content_file, hashes)
File "D:\Python27\lib\site-packages\pip\download.py", line 595, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "D:\Python27\lib\site-packages\pip\utils\hashes.py", line 46, in check_against_chunks
for chunk in chunks:
File "D:\Python27\lib\site-packages\pip\download.py", line 563, in written_chunks
for chunk in chunks:
File "D:\Python27\lib\site-packages\pip\utils\ui.py", line 139, in iter
for x in it:
File "D:\Python27\lib\site-packages\pip\download.py", line 552, in resp_read
decode_content=False):
File "D:\Python27\lib\site-packages\pip_vendor\requests\packages\urllib3\response.py", line
data = self.read(amt=amt, decode_content=decode_content)
File "D:\Python27\lib\site-packages\pip_vendor\requests\packages\urllib3\response.py", line
flush_decoder = True
File "D:\Python27\lib\contextlib.py", line 35, in __exit
_
self.gen.throw(type, value, traceback)
File "D:\Python27\lib\site-packages\pip_vendor\requests\packages\urllib3\response.py", line
catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.

  • 写回答

4条回答 默认 最新

  • 初出茅庐多多指教 2016-07-12 12:29
    关注

    就是这个异常问题

    图片说明

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog