V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  tangthis  ›  全部回复第 1 页 / 共 1 页
回复总数  1
2015-11-25 16:42:06 +08:00
回复了 50vip 创建的主题 Python Redis 负载监控——redis-monitor
安装报错了。
Downloading requests-2.8.1-py2.py3-none-any.whl (497kB)
2% | | 12kB 12.1MB/s eta 0:00:01 Exception:
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\re
sponse.py", line 186, in read
data = self._fp.read(amt)
File "C:\Python34\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py"
, line 49, in read
data = self.__fp.read(amt)
File "C:\Python34\lib\http\client.py", line 500, in read
return super(HTTPResponse, self).read(amt)
File "C:\Python34\lib\http\client.py", line 539, in readinto
n = self.fp.readinto(b)
File "C:\Python34\lib\socket.py", line 374, in readinto
return self._sock.recv_into(b)
File "C:\Python34\lib\ssl.py", line 751, in recv_into
return self.read(nbytes, buffer)
File "C:\Python34\lib\ssl.py", line 623, 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:\Python34\lib\site-packages\pip\basecommand.py", line 232, in main
status = self.run(options, args)
File "C:\Python34\lib\site-packages\pip\commands\install.py", line 339, in r
un
requirement_set.prepare_files(finder)
File "C:\Python34\lib\site-packages\pip\req\req_set.py", line 355, in prepar
e_files
do_download, session=self.session,
File "C:\Python34\lib\site-packages\pip\download.py", line 782, in unpack_ur
l
session,
File "C:\Python34\lib\site-packages\pip\download.py", line 667, in unpack_ht
tp_url
from_path, content_type = _download_http_url(link, session, temp_dir)
File "C:\Python34\lib\site-packages\pip\download.py", line 843, in _download
_http_url
_download_url(resp, link, content_file)
File "C:\Python34\lib\site-packages\pip\download.py", line 615, in _download
_url
for chunk in progress_indicator(resp_read(4096), 4096):
File "C:\Python34\lib\site-packages\pip\utils\ui.py", line 46, in iter
for x in it:
File "C:\Python34\lib\site-packages\pip\download.py", line 580, in resp_read

decode_content=False):
File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\re
sponse.py", line 256, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\re
sponse.py", line 201, in read
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnec
tionPool(host='pypi.python.org', port=443): Read timed out.


C:\Users\Administrator\Documents\GitHub\redis-monitor>python run_monitor.py
Traceback (most recent call last):
File "run_monitor.py", line 8, in <module>
from app import app
File "C:\Users\Administrator\Documents\GitHub\redis-monitor\app\__init__.py",
line 12, in <module>
from app.views import main_views
File "C:\Users\Administrator\Documents\GitHub\redis-monitor\app\views\main_vie
ws.py", line 9, in <module>
from app.utils import RequestUtil, OtherUtil
File "C:\Users\Administrator\Documents\GitHub\redis-monitor\app\utils\OtherUti
l.py", line 9, in <module>
from CJsonEncoder import CJsonEncoder
ImportError: No module named 'CJsonEncoder'
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2789 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 03:21 · PVG 11:21 · LAX 19:21 · JFK 22:21
Developed with CodeLauncher
♥ Do have faith in what you're doing.