不能通过点子安装scipy

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了不能通过点子安装scipy相关的知识,希望对你有一定的参考价值。

PS C:UsersMarko> pip install scipy
Collecting scipy
  Downloading scipy-1.0.8-cp36-none-win32.whl (26.0MB)
    22% |?  | 5.8MB 936kB/s eta 0:00:22Exception:
Traceback (most recent call last):
  File "c:pythonlibsite-packagespip\_vendor
equestspackagesurllib3
esponse.py", line 232, in _error_catcher
    yield
  File "c:pythonlibsite-packagespip\_vendor
equestspackagesurllib3
esponse.py", line 314, in read
    data = self._fp.read(amt)
  File "c:pythonlibsite-packagespip\_vendorcachecontrolfilewrapper.py", line 60, in read
    data = self.__fp.read(amt)
  File "c:pythonlibhttpclient.py", line 449, in read
    n = self.readinto(b)
  File "c:pythonlibhttpclient.py", line 493, in readinto
    n = self.fp.readinto(b)
  File "c:pythonlibsocket.py”, line 586, in readinto
    return self._sock.recv_into(b)
  File "c:pythonlibssl.py", line 1009, in recv_into
    return self.read(nbytes, buffer)
  File "c:pythonlibssl.py", line 871, in read
    return self._sslobj.read(len, buffer)
  File "c:pythonlihssl.py”, line 631, in read
    v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:pythonliosite-packagespipasecommand.py", line 215, in main
    status = self.run(options, args)
  File "c:pythonlibsite-packagespipcommandsinstall.py”, line 324, in run
    requirement_set.prepare_files(finder)
  File “c:pythonlibsite-packagespip
eq
eq_set.py", line 380, in prepare_files
    ignore_dependencies=seif.ignore_dependencies))
  File "c:pythonlibsite-packagespip
eq
eq_set.py", line 620, in _prepare_file
    session=self.session, hasnes=hashes)
  File ”c:pythonlibsite-packagespipdownload .py", line 821, in unpack_url
    hashes=hashes
  File "c:pythonlibsite-packagespipdownload.py", line 659, in unpack_http_url
    hashes)
  File "c:pythonlibsite-packagespipdownload.py", line 882, in _download_http_url
    _download_url(resp, link, content_file, hashes)
  File "c:pythonlibsite-packagespipdownload.py”, line 603, in _download_url
    hashes.check_against_chunks(downloaded_chunks)
  File “c:pythonlibsite-packagespiputilshashes.py", line 46, in check_against_chunks
    for chunk in chunks:
  File ”c:pythonlibsite-packagespipdownload.py", line 571, in written_chunks
    for chunk in chunks:
  File “c:pythonlibsite-packagespiputilsui.py", line 139, in iter
    for x in it:
  File ”c:pythonlibsite-packagespipdownload.py", line 560, in resp_read
    decode_content=False):

我试图为python安装scipy。我尝试了一切,重新安装了python和pip,但它仍然无效。

答案

看起来你得到超时错误。 This answer可能会有所帮助。

有关未来的帖子,请阅读the stack overflow posting guidlines。例如,通常首选复制和粘贴错误而不是发布屏幕截图,以便人们可以更轻松地搜索它。

以上是关于不能通过点子安装scipy的主要内容,如果未能解决你的问题,请参考以下文章

为啥我不能通过 document.getElementById("node's_id").child 选择节点子节点?

为啥使用 k-means(来自 Scipy)聚类到两个片段的图像会显示两个以上不同的像素值?

scipy的安装教程

scipy的安装教程

scipy的安装教程

SciPy 无法通过 pip 安装