You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [77 lines of output]
C:\ProgramData\anaconda3\envs\Liuma-agent\lib\site-packages\setuptools\dist.py:447: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'author-email' will not be supported in future
versions. Please use the underscore name 'author_email' instead.
By 2024-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
C:\ProgramData\anaconda3\envs\Liuma-agent\lib\site-packages\setuptools\dist.py:447: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'home-page' will not be supported in future
versions. Please use the underscore name 'home_page' instead.
By 2024-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
C:\ProgramData\anaconda3\envs\Liuma-agent\lib\site-packages\setuptools\dist.py:447: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
By 2024-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
C:\ProgramData\anaconda3\envs\Liuma-agent\lib\site-packages\setuptools\__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
Error parsing
Traceback (most recent call last):
File "c:\users\123\appdata\local\temp\pip-install-wuslj06r\weditor_1d4630a8c76544e3ba80e9bf61f7cfbb\.eggs\pbr-6.0.0-py3.8.egg\pbr\core.py", line 105, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "c:\users\123\appdata\local\temp\pip-install-wuslj06r\weditor_1d4630a8c76544e3ba80e9bf61f7cfbb\.eggs\pbr-6.0.0-py3.8.egg\pbr\util.py", line 272, in cfg_to_args
pbr.hooks.setup_hook(config)
File "c:\users\123\appdata\local\temp\pip-install-wuslj06r\weditor_1d4630a8c76544e3ba80e9bf61f7cfbb\.eggs\pbr-6.0.0-py3.8.egg\pbr\hooks\__init__.py", line 25, in setup_hook
metadata_config.run()
File "c:\users\123\appdata\local\temp\pip-install-wuslj06r\weditor_1d4630a8c76544e3ba80e9bf61f7cfbb\.eggs\pbr-6.0.0-py3.8.egg\pbr\hooks\base.py", line 27, in run
self.hook()
File "c:\users\123\appdata\local\temp\pip-install-wuslj06r\weditor_1d4630a8c76544e3ba80e9bf61f7cfbb\.eggs\pbr-6.0.0-py3.8.egg\pbr\hooks\metadata.py", line 25, in hook
self.config['version'] = packaging.get_version(
File "c:\users\123\appdata\local\temp\pip-install-wuslj06r\weditor_1d4630a8c76544e3ba80e9bf61f7cfbb\.eggs\pbr-6.0.0-py3.8.egg\pbr\packaging.py", line 854, in get_version
version = _get_version_from_pkg_metadata(package_name)
File "c:\users\123\appdata\local\temp\pip-install-wuslj06r\weditor_1d4630a8c76544e3ba80e9bf61f7cfbb\.eggs\pbr-6.0.0-py3.8.egg\pbr\packaging.py", line 822, in _get_version_from_pkg_metadata
pkg_metadata = email.message_from_file(pkg_metadata_file)
File "C:\ProgramData\anaconda3\envs\Liuma-agent\lib\email\__init__.py", line 54, in message_from_file
return Parser(*args, **kws).parse(fp)
File "C:\ProgramData\anaconda3\envs\Liuma-agent\lib\email\parser.py", line 53, in parse
data = fp.read(8192)
UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 795: illegal multibyte sequence
error in setup command: Error parsing C:\Users\123\AppData\Local\Temp\pip-install-wuslj06r\weditor_1d4630a8c76544e3ba80e9bf61f7cfbb\setup.cfg: UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 795: 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.
The text was updated successfully, but these errors were encountered:
你好,我在安装依赖pip3 install -r requirements.txt时出现报错。请问如何解决,谢谢
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [77 lines of output]
C:\ProgramData\anaconda3\envs\Liuma-agent\lib\site-packages\setuptools\dist.py:447: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
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.
The text was updated successfully, but these errors were encountered: