HibiKier / zhenxun_bot

基于 Nonebot2 开发,非常可爱的绪山真寻bot
GNU Affero General Public License v3.0
3.39k stars 602 forks source link

安装依赖包时出错 #210

Closed AlexCZhou closed 2 years ago

AlexCZhou commented 2 years ago

下载的是release里的0.1.5.3版本。Google了一圈也没明白哪儿错了。

执行poetry install输出如下

# poetry install
The currently activated Python version 3.6.9 is not supported by the project (^3.8).
Trying to find and use a compatible version. 
Using python3.9 (3.9.12)
Creating virtualenv zhenxun-bot-NQ0zadCP-py3.9 in /root/.cache/pypoetry/virtualenvs
Installing dependencies from lock file

Package operations: 92 installs, 0 updates, 0 removals

  • Installing idna (3.3): Installing...
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
  • Installing idna (3.3): Failed
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig

  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
  EnvCommandError
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig

  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/0f/f1/8a/07ce48bd0d6febb51d68bc13e1c252a1569b8b8defefa3132ff940b24f/idna-3.3-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/_distutils.py", line 9, in <module>
      from distutils.cmd import Command as DistutilsCommand
  ModuleNotFoundError: No module named 'distutils.cmd'

  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig

  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
  at /usr/local/lib/python3.6/dist-packages/poetry/utils/env.py:1195 in _run
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
      1191│                 output = subprocess.check_output(
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
      1192│                     cmd, stderr=subprocess.STDOUT, **kwargs
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
      1193│                 )
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
      1194│         except CalledProcessError as e:
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
    → 1195│             raise EnvCommandError(e, input=input_)
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
      1196│ 
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
      1197│         return decode(output)
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
      1198│ 
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
      1199│     def execute(self, bin, *args, **kwargs):
  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig

  • Installing sniffio (1.2.0): Failed

  EnvCommandError

  Command ['/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip', 'install', '--no-deps', 'file:///root/.cache/pypoetry/artifacts/00/a2/af/7f31495b94a636f378c2442b685d82ac9d4ee06648f8d6a41c215b2169/sniffio-1.2.0-py3-none-any.whl'] errored with the following return code 1, and output: 
  Traceback (most recent call last):
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/bin/pip", line 5, in <module>
      from pip._internal.cli.main import main
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
      from pip._internal.cli.autocompletion import autocomplete
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
      from pip._internal.cli.main_parser import create_main_parser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
      from pip._internal.cli import cmdoptions
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
      from pip._internal.cli.parser import ConfigOptionParser
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
      from pip._internal.configuration import Configuration, ConfigurationError
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in <module>
      from pip._internal.utils.logging import getLogger
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 27, in <module>
      from pip._internal.utils.misc import ensure_dir
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 39, in <module>
      from pip._internal.locations import get_major_minor_version
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 14, in <module>
      from . import _distutils, _sysconfig
    File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-NQ0zadCP-py3.9/lib/python3.9/site-packages/pip/_internal/locations/_distutils.py", line 9, in <module>
      from distutils.cmd import Command as DistutilsCommand
  ModuleNotFoundError: No module named 'distutils.cmd'

  at /usr/local/lib/python3.6/dist-packages/poetry/utils/env.py:1195 in _run
      1191│                 output = subprocess.check_output(
      1192│                     cmd, stderr=subprocess.STDOUT, **kwargs
      1193│                 )
      1194│         except CalledProcessError as e:
    → 1195│             raise EnvCommandError(e, input=input_)
      1196│ 
      1197│         return decode(output)
      1198│ 
      1199│     def execute(self, bin, *args, **kwargs):
AlexCZhou commented 2 years ago

好吧,我自己python3.9的问题,和zhenxun_bot没有太大关系。

https://stackoverflow.com/questions/63823964/importerror-cannot-import-name-sysconfig-from-distutils-usr-lib-python3-8 参考这篇文章解决了,放在这以防有谁遇到同一个问题。