MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接
    1. 主页
    2. Xzai
    X
    • 资料
    • 关注 0
    • 粉丝 0
    • 主题 0
    • 帖子 12
    • 最佳 0
    • 有争议的 0
    • 群组 0

    Xzai

    @Xzai

    0
    声望
    1
    资料浏览
    12
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    Xzai 取消关注 关注

    Xzai 发布的最新帖子

    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi 好了,谢谢你

      发布在 插件发布
      X
      Xzai
    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi ok,我正打算放弃qwq

      发布在 插件发布
      X
      Xzai
    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi 今天试了,代理不行,清华镜像也不行

      发布在 插件发布
      X
      Xzai
    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi 我试试吧

      发布在 插件发布
      X
      Xzai
    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi Windows不挂代理也可以下载

      发布在 插件发布
      X
      Xzai
    • RE: ChatLearning——让bot学会你的群聊

      @Xzai 在 ChatLearning——让bot学会你的群聊(附带文字转换语音) 中说:

      @Koreyoshi 3.9

      root@raspberrypi:/opt/Chat/Source # pip install -r requirements.txt 
      Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
      Collecting cos_python_sdk_v5==1.9.15
        Using cached cos_python_sdk_v5-1.9.15-py3-none-any.whl (59 kB)
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out. (read timeout=15)")': /simple/nest-asyncio/
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out. (read timeout=15)")': /simple/nest-asyncio/
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out. (read timeout=15)")': /simple/nest-asyncio/
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out. (read timeout=15)")': /simple/nest-asyncio/
      Collecting nest_asyncio==1.5.4
        Using cached https://www.piwheels.org/simple/nest-asyncio/nest_asyncio-1.5.4-py3-none-any.whl (5.1 kB)
      Collecting prompt_toolkit==3.0.28
        Using cached https://www.piwheels.org/simple/prompt-toolkit/prompt_toolkit-3.0.28-py3-none-any.whl (380 kB)
      Collecting requests==2.26.0
        Using cached https://www.piwheels.org/simple/requests/requests-2.26.0-py2.py3-none-any.whl (62 kB)
      Requirement already satisfied: xlwt==1.3.0 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 6)) (1.3.0)
      Collecting jieba
        Downloading https://www.piwheels.org/simple/jieba/jieba-0.42.1-py3-none-any.whl (19.3 MB)
      ERROR: Exception:
      Traceback (most recent call last):
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 171, in _merge_into_criterion
          crit = self.state.criteria[name]
      KeyError: 'jieba'
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/response.py", line 438, in _error_catcher
          yield
        File "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/response.py", line 519, in read
          data = self._fp.read(amt) if not fp_closed else b""
        File "/usr/share/python-wheels/CacheControl-0.12.6-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 62, in read
          data = self.__fp.read(amt)
        File "/usr/lib/python3.9/http/client.py", line 458, in read
          n = self.readinto(b)
        File "/usr/lib/python3.9/http/client.py", line 502, in readinto
          n = self.fp.readinto(b)
        File "/usr/lib/python3.9/socket.py", line 704, in readinto
          return self._sock.recv_into(b)
        File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
          return self.read(nbytes, buffer)
        File "/usr/lib/python3.9/ssl.py", line 1099, in read
          return 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 "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 223, in _main
          status = self.run(options, args)
        File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
          return func(self, options, args)
        File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 346, in run
          requirement_set = resolver.resolve(
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 122, in resolve
          self._result = resolver.resolve(
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 453, in resolve
          state = resolution.resolve(requirements, max_rounds=max_rounds)
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 318, in resolve
          name, crit = self._merge_into_criterion(r, parent=None)
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 173, in _merge_into_criterion
          crit = Criterion.from_requirement(self._p, requirement, parent)
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 82, in from_requirement
          if not cands:
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/structs.py", line 124, in __bool__
          return bool(self._sequence)
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 99, in __bool__
          return any(self)
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 239, in iter_index_candidates
          candidate = self._make_candidate_from_link(
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 167, in _make_candidate_from_link
          self._link_candidate_cache[link] = LinkCandidate(
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 296, in __init__
          super(LinkCandidate, self).__init__(
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 144, in __init__
          self.dist = self._prepare()
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222, in _prepare
          dist = self._prepare_distribution()
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 307, in _prepare_distribution
          return self._factory.preparer.prepare_linked_requirement(
        File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 480, in prepare_linked_requirement
          return self._prepare_linked_requirement(req, parallel_builds)
        File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 503, in _prepare_linked_requirement
          local_file = unpack_url(
        File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 253, in unpack_url
          file = get_http_url(
        File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 130, in get_http_url
          from_path, content_type = download(link, temp_dir.path)
        File "/usr/lib/python3/dist-packages/pip/_internal/network/download.py", line 163, in __call__
          for chunk in chunks:
        File "/usr/lib/python3/dist-packages/pip/_internal/cli/progress_bars.py", line 168, in iter
          for x in it:
        File "/usr/lib/python3/dist-packages/pip/_internal/network/utils.py", line 64, in response_chunks
          for chunk in response.raw.stream(
        File "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/response.py", line 576, in stream
          data = self.read(amt=amt, decode_content=decode_content)
        File "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/response.py", line 541, in read
          raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
        File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
          self.gen.throw(type, value, traceback)
        File "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/response.py", line 443, in _error_catcher
          raise ReadTimeoutError(self._pool, None, "Read timed out.")
      urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out.
      root@raspberrypi:/opt/Chat/Source # 
      

      这是报错

      发布在 插件发布
      X
      Xzai
    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi 3.9

      root@raspberrypi:/opt/Chat/Source # pip install -r requirements.txt 
      Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
      Collecting cos_python_sdk_v5==1.9.15
        Using cached cos_python_sdk_v5-1.9.15-py3-none-any.whl (59 kB)
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out. (read timeout=15)")': /simple/nest-asyncio/
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out. (read timeout=15)")': /simple/nest-asyncio/
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out. (read timeout=15)")': /simple/nest-asyncio/
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out. (read timeout=15)")': /simple/nest-asyncio/
      Collecting nest_asyncio==1.5.4
        Using cached https://www.piwheels.org/simple/nest-asyncio/nest_asyncio-1.5.4-py3-none-any.whl (5.1 kB)
      Collecting prompt_toolkit==3.0.28
        Using cached https://www.piwheels.org/simple/prompt-toolkit/prompt_toolkit-3.0.28-py3-none-any.whl (380 kB)
      Collecting requests==2.26.0
        Using cached https://www.piwheels.org/simple/requests/requests-2.26.0-py2.py3-none-any.whl (62 kB)
      Requirement already satisfied: xlwt==1.3.0 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 6)) (1.3.0)
      Collecting jieba
        Downloading https://www.piwheels.org/simple/jieba/jieba-0.42.1-py3-none-any.whl (19.3 MB)
      ERROR: Exception:
      Traceback (most recent call last):
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 171, in _merge_into_criterion
          crit = self.state.criteria[name]
      KeyError: 'jieba'
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/response.py", line 438, in _error_catcher
          yield
        File "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/response.py", line 519, in read
          data = self._fp.read(amt) if not fp_closed else b""
        File "/usr/share/python-wheels/CacheControl-0.12.6-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 62, in read
          data = self.__fp.read(amt)
        File "/usr/lib/python3.9/http/client.py", line 458, in read
          n = self.readinto(b)
        File "/usr/lib/python3.9/http/client.py", line 502, in readinto
          n = self.fp.readinto(b)
        File "/usr/lib/python3.9/socket.py", line 704, in readinto
          return self._sock.recv_into(b)
        File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
          return self.read(nbytes, buffer)
        File "/usr/lib/python3.9/ssl.py", line 1099, in read
          return 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 "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 223, in _main
          status = self.run(options, args)
        File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
          return func(self, options, args)
        File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 346, in run
          requirement_set = resolver.resolve(
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 122, in resolve
          self._result = resolver.resolve(
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 453, in resolve
          state = resolution.resolve(requirements, max_rounds=max_rounds)
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 318, in resolve
          name, crit = self._merge_into_criterion(r, parent=None)
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 173, in _merge_into_criterion
          crit = Criterion.from_requirement(self._p, requirement, parent)
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 82, in from_requirement
          if not cands:
        File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/structs.py", line 124, in __bool__
          return bool(self._sequence)
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 99, in __bool__
          return any(self)
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 239, in iter_index_candidates
          candidate = self._make_candidate_from_link(
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 167, in _make_candidate_from_link
          self._link_candidate_cache[link] = LinkCandidate(
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 296, in __init__
          super(LinkCandidate, self).__init__(
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 144, in __init__
          self.dist = self._prepare()
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222, in _prepare
          dist = self._prepare_distribution()
        File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 307, in _prepare_distribution
          return self._factory.preparer.prepare_linked_requirement(
        File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 480, in prepare_linked_requirement
          return self._prepare_linked_requirement(req, parallel_builds)
        File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 503, in _prepare_linked_requirement
          local_file = unpack_url(
        File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 253, in unpack_url
          file = get_http_url(
        File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 130, in get_http_url
          from_path, content_type = download(link, temp_dir.path)
        File "/usr/lib/python3/dist-packages/pip/_internal/network/download.py", line 163, in __call__
          for chunk in chunks:
        File "/usr/lib/python3/dist-packages/pip/_internal/cli/progress_bars.py", line 168, in iter
          for x in it:
        File "/usr/lib/python3/dist-packages/pip/_internal/network/utils.py", line 64, in response_chunks
          for chunk in response.raw.stream(
        File "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/response.py", line 576, in stream
          data = self.read(amt=amt, decode_content=decode_content)
        File "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/response.py", line 541, in read
          raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
        File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
          self.gen.throw(type, value, traceback)
        File "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/response.py", line 443, in _error_catcher
          raise ReadTimeoutError(self._pool, None, "Read timed out.")
      urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out.
      root@raspberrypi:/opt/Chat/Source # 
      
      发布在 插件发布
      X
      Xzai
    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi 亲测windows没问题

      发布在 插件发布
      X
      Xzai
    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi xlwt, cos_python_sdk_v5

      发布在 插件发布
      X
      Xzai
    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi 是群里的cute

      发布在 插件发布
      X
      Xzai