为了账号安全,请及时绑定邮箱和手机立即绑定

python 找不到cv2模块

python 找不到cv2模块

car 2016-12-11 16:27:59
E:\python\project>pip install numpyCollecting numpy  Downloading numpy-1.11.2-cp27-none-win_amd64.whl (7.4MB)    46% |███████████████                 | 3.5MB 35kB/s eta 0:01:51Exception:Traceback (most recent call last):  File "d:\program files\python27\lib\site-packages\pip\basecommand.py", line 209, in main    status = self.run(options, args)  File "d:\program files\python27\lib\site-packages\pip\commands\install.py", line 299, in run    requirement_set.prepare_files(finder)  File "d:\program files\python27\lib\site-packages\pip\req\req_set.py", line 360, in prepare_files    ignore_dependencies=self.ignore_dependencies))  File "d:\program files\python27\lib\site-packages\pip\req\req_set.py", line 577, in _prepare_file    session=self.session, hashes=hashes)  File "d:\program files\python27\lib\site-packages\pip\download.py", line 810, in unpack_url    hashes=hashes  File "d:\program files\python27\lib\site-packages\pip\download.py", line 649, in unpack_http_url    hashes)  File "d:\program files\python27\lib\site-packages\pip\download.py", line 871, in _download_http_url    _download_url(resp, link, content_file, hashes)  File "d:\program files\python27\lib\site-packages\pip\download.py", line 595, in _download_url    hashes.check_against_chunks(downloaded_chunks)  File "d:\program files\python27\lib\site-packages\pip\utils\hashes.py", line 46, in check_against_chunks    for chunk in chunks:  File "d:\program files\python27\lib\site-packages\pip\download.py", line 563, in written_chunks    for chunk in chunks:  File "d:\program files\python27\lib\site-packages\pip\utils\ui.py", line 139, in iter    for x in it:  File "d:\program files\python27\lib\site-packages\pip\download.py", line 552, in resp_read    decode_content=False):  File "d:\program files\python27\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 344, in stream    data = self.read(amt=amt, decode_content=decode_content)  File "d:\program files\python27\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 311, in read    flush_decoder = True  File "d:\program files\python27\lib\contextlib.py", line 35, in __exit__    self.gen.throw(type, value, traceback)  File "d:\program files\python27\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 240, in _error_catcher    raise ReadTimeoutError(self._pool, None, 'Read timed out.')ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.You are using pip version 8.1.1, however version 9.0.1 is available.You should consider upgrading via the 'python -m pip install --upgrade pip' command.
查看完整描述

3 回答

已采纳
?
yunsky0

TA贡献19条经验 获得超5个赞

如果是pip安装不到的话,你可以试着使用国内的python插件镜像

查看完整回答
反对 回复 2016-12-12
  • 3 回答
  • 0 关注
  • 11436 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信