不能通过点子安装scipy

时间:2018-03-03 15:00:18

标签: python scipy pip

PS C:\Users\Marko> 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:\python\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 232, in _error_catcher
    yield
  File "c:\python\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 314, in read
    data = self._fp.read(amt)
  File "c:\python\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 60, in read
    data = self.__fp.read(amt)
  File "c:\python\lib\http\client.py", line 449, in read
    n = self.readinto(b)
  File "c:\python\lib\http\client.py", line 493, in readinto
    n = self.fp.readinto(b)
  File "c:\python\lib\socket.py”, line 586, in readinto
    return self._sock.recv_into(b)
  File "c:\python\lib\ssl.py", line 1009, in recv_into
    return self.read(nbytes, buffer)
  File "c:\python\lib\ssl.py", line 871, in read
    return self._sslobj.read(len, buffer)
  File "c:\python\lih\ssl.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:\python\lio\site-packages\pip\basecommand.py", line 215, in main
    status = self.run(options, args)
  File "c:\python\lib\site-packages\pip\commands\install.py”, line 324, in run
    requirement_set.prepare_files(finder)
  File “c:\python\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
    ignore_dependencies=seif.ignore_dependencies))
  File "c:\python\lib\site-packages\pip\req\req_set.py", line 620, in _prepare_file
    session=self.session, hasnes=hashes)
  File ”c:\python\lib\site-packages\pip\download .py", line 821, in unpack_url
    hashes=hashes
  File "c:\python\lib\site-packages\pip\download.py", line 659, in unpack_http_url
    hashes)
  File "c:\python\lib\site-packages\pip\download.py", line 882, in _download_http_url
    _download_url(resp, link, content_file, hashes)
  File "c:\python\lib\site-packages\pip\download.py”, line 603, in _download_url
    hashes.check_against_chunks(downloaded_chunks)
  File “c:\python\lib\site-packages\pip\utils\hashes.py", line 46, in check_against_chunks
    for chunk in chunks:
  File ”c:\python\lib\site-packages\pip\download.py", line 571, in written_chunks
    for chunk in chunks:
  File “c:\python\lib\site-packages\pip\utils\ui.py", line 139, in iter
    for x in it:
  File ”c:\python\lib\site-packages\pip\download.py", line 560, in resp_read
    decode_content=False):

我正在尝试为python安装scipy。我尝试了所有的东西,重新安装了python和pip,但它仍然没有用。

1 个答案:

答案 0 :(得分:0)

您似乎收到了超时错误。 Error可能有所帮助。

以后的帖子,请阅读This answer。例如,通常首选复制和粘贴错误而不是发布屏幕截图,以便人们可以更轻松地搜索它。