美文网首页
windows10 安装weditor报错

windows10 安装weditor报错

作者: sexy_cyber | 来源:发表于2022-05-21 05:41 被阅读0次
Collecting weditor
  Downloading https://pypi.doubanio.com/packages/04/9b/ec6c2b8ab08fecd21d98121e2b91244632d1836669bb9c917ff01406bd1a/weditor-0.6.5.tar.gz (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 10.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [29 lines of output]
      C:\Users\shixiaolong\AppData\Local\Programs\Python\Python39\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'author-email' will not be sup
ported in future versions. Please use the underscore name 'author_email' instead
        warnings.warn(
      C:\Users\shixiaolong\AppData\Local\Programs\Python\Python39\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'home-page' will not be suppor
ted in future versions. Please use the underscore name 'home_page' instead
        warnings.warn(
      C:\Users\shixiaolong\AppData\Local\Programs\Python\Python39\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be
 supported in future versions. Please use the underscore name 'description_file' instead
        warnings.warn(
      WARNING: The wheel package is not available.
      ERROR:root:Error parsing
      Traceback (most recent call last):
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-dyj2i1_p\weditor_c923e0c02dc24e55963dc665bdc76736\.eggs\pbr-5.9.0-py3.9.egg\pbr\core.py", line 111, in pbr
          attrs = util.cfg_to_args(path, dist.script_args)
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-dyj2i1_p\weditor_c923e0c02dc24e55963dc665bdc76736\.eggs\pbr-5.9.0-py3.9.egg\pbr\util.py", line 272, in cfg_to
_args
          pbr.hooks.setup_hook(config)
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-dyj2i1_p\weditor_c923e0c02dc24e55963dc665bdc76736\.eggs\pbr-5.9.0-py3.9.egg\pbr\hooks\__init__.py", line 25,
in setup_hook
          metadata_config.run()
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-dyj2i1_p\weditor_c923e0c02dc24e55963dc665bdc76736\.eggs\pbr-5.9.0-py3.9.egg\pbr\hooks\base.py", line 27, in r
un
          self.hook()
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-dyj2i1_p\weditor_c923e0c02dc24e55963dc665bdc76736\.eggs\pbr-5.9.0-py3.9.egg\pbr\hooks\metadata.py", line 25,
in hook
          self.config['version'] = packaging.get_version(
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-dyj2i1_p\weditor_c923e0c02dc24e55963dc665bdc76736\.eggs\pbr-5.9.0-py3.9.egg\pbr\packaging.py", line 860, in g
et_version
          version = _get_version_from_pkg_metadata(package_name)
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-dyj2i1_p\weditor_c923e0c02dc24e55963dc665bdc76736\.eggs\pbr-5.9.0-py3.9.egg\pbr\packaging.py", line 828, in _
get_version_from_pkg_metadata
          pkg_metadata = email.message_from_file(pkg_metadata_file)
        File "C:\Users\shixiaolong\AppData\Local\Programs\Python\Python39\lib\email\__init__.py", line 54, in message_from_file
          return Parser(*args, **kws).parse(fp)
        File "C:\Users\shixiaolong\AppData\Local\Programs\Python\Python39\lib\email\parser.py", line 53, in parse
          data = fp.read(8192)
      UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 825: illegal multibyte sequence
      error in setup command: Error parsing C:\Users\shixiaolong\AppData\Local\Temp\pip-install-dyj2i1_p\weditor_c923e0c02dc24e55963dc665bdc76736\setup.cfg: UnicodeDecodeError
: 'gbk' codec can't decode byte 0xad in position 825: illegal multibyte sequence
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

G:\代码\spider-code> pip install --pre wedi
ERROR: Could not find a version that satisfies the requirement wedi (from versions: none)
ERROR: No matching distribution found for wedi

G:\代码\spider-code> pip install --pre weditor
Collecting weditor
  Using cached weditor-0.6.5.tar.gz (2.2 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [29 lines of output]
      C:\Users\shixiaolong\AppData\Local\Programs\Python\Python39\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'author-email' will not be sup
ported in future versions. Please use the underscore name 'author_email' instead
        warnings.warn(
      C:\Users\shixiaolong\AppData\Local\Programs\Python\Python39\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'home-page' will not be suppor
ted in future versions. Please use the underscore name 'home_page' instead
        warnings.warn(
      C:\Users\shixiaolong\AppData\Local\Programs\Python\Python39\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be
 supported in future versions. Please use the underscore name 'description_file' instead
        warnings.warn(
      WARNING: The wheel package is not available.
      ERROR:root:Error parsing
      Traceback (most recent call last):
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-e9phn9n1\weditor_68447d70a1894a25bde13e31e0e899cb\.eggs\pbr-5.9.0-py3.9.egg\pbr\core.py", line 111, in pbr
          attrs = util.cfg_to_args(path, dist.script_args)
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-e9phn9n1\weditor_68447d70a1894a25bde13e31e0e899cb\.eggs\pbr-5.9.0-py3.9.egg\pbr\util.py", line 272, in cfg_to
_args
          pbr.hooks.setup_hook(config)
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-e9phn9n1\weditor_68447d70a1894a25bde13e31e0e899cb\.eggs\pbr-5.9.0-py3.9.egg\pbr\hooks\__init__.py", line 25,
in setup_hook
          metadata_config.run()
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-e9phn9n1\weditor_68447d70a1894a25bde13e31e0e899cb\.eggs\pbr-5.9.0-py3.9.egg\pbr\hooks\base.py", line 27, in r
un
          self.hook()
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-e9phn9n1\weditor_68447d70a1894a25bde13e31e0e899cb\.eggs\pbr-5.9.0-py3.9.egg\pbr\hooks\metadata.py", line 25,
in hook
          self.config['version'] = packaging.get_version(
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-e9phn9n1\weditor_68447d70a1894a25bde13e31e0e899cb\.eggs\pbr-5.9.0-py3.9.egg\pbr\packaging.py", line 860, in g
et_version
          version = _get_version_from_pkg_metadata(package_name)
        File "c:\users\shixiaolong\appdata\local\temp\pip-install-e9phn9n1\weditor_68447d70a1894a25bde13e31e0e899cb\.eggs\pbr-5.9.0-py3.9.egg\pbr\packaging.py", line 828, in _
get_version_from_pkg_metadata
          pkg_metadata = email.message_from_file(pkg_metadata_file)
        File "C:\Users\shixiaolong\AppData\Local\Programs\Python\Python39\lib\email\__init__.py", line 54, in message_from_file
          return Parser(*args, **kws).parse(fp)
        File "C:\Users\shixiaolong\AppData\Local\Programs\Python\Python39\lib\email\parser.py", line 53, in parse
          data = fp.read(8192)
      UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 825: illegal multibyte sequence
      error in setup command: Error parsing C:\Users\shixiaolong\AppData\Local\Temp\pip-install-e9phn9n1\weditor_68447d70a1894a25bde13e31e0e899cb\setup.cfg: UnicodeDecodeError
: 'gbk' codec can't decode byte 0xad in position 825: illegal multibyte sequence
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

解决方案

补充个提高手机运行速度的防范
开发者设置

相关文章

网友评论

      本文标题:windows10 安装weditor报错

      本文链接:https://www.haomeiwen.com/subject/bkoqprtx.html