pip安装manimlib结果报错:
C:\Users\tbwyyds>pip install manimlib -i https://pypi.tuna.tsinghua.edu.cn/simple/
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting manimlib
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/b2/e1/dbc03fab72f236c0c47e1ecb5d37348584c8463ae3a444c2e1a8504dac4f/manimlib-0.2.0.tar.gz (4.8 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
ERROR:root:Error parsing
Traceback (most recent call last):
File "c:\users\tbwyyds\appdata\local\temp\pip-install-9us4hfe_\manimlib_e4f0d2c5010949ad9fa2f60926311eb9\.eggs\pbr-5.11.1-py3.8.egg\pbr\core.py", line 105, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "c:\users\tbwyyds\appdata\local\temp\pip-install-9us4hfe_\manimlib_e4f0d2c5010949ad9fa2f60926311eb9\.eggs\pbr-5.11.1-py3.8.egg\pbr\util.py", line 272, in cfg_to_args
pbr.hooks.setup_hook(config)
File "c:\users\tbwyyds\appdata\local\temp\pip-install-9us4hfe_\manimlib_e4f0d2c5010949ad9fa2f60926311eb9\.eggs\pbr-5.11.1-py3.8.egg\pbr\hooks\__init__.py", line 25, in setup_hook
metadata_config.run()
File "c:\users\tbwyyds\appdata\local\temp\pip-install-9us4hfe_\manimlib_e4f0d2c5010949ad9fa2f60926311eb9\.eggs\pbr-5.11.1-py3.8.egg\pbr\hooks\base.py", line 27, in run
self.hook()
File "c:\users\tbwyyds\appdata\local\temp\pip-install-9us4hfe_\manimlib_e4f0d2c5010949ad9fa2f60926311eb9\.eggs\pbr-5.11.1-py3.8.egg\pbr\hooks\metadata.py", line 25, in hook
self.config['version'] = packaging.get_version(
File "c:\users\tbwyyds\appdata\local\temp\pip-install-9us4hfe_\manimlib_e4f0d2c5010949ad9fa2f60926311eb9\.eggs\pbr-5.11.1-py3.8.egg\pbr\packaging.py", line 862, in get_version
version = _get_version_from_pkg_metadata(package_name)
File "c:\users\tbwyyds\appdata\local\temp\pip-install-9us4hfe_\manimlib_e4f0d2c5010949ad9fa2f60926311eb9\.eggs\pbr-5.11.1-py3.8.egg\pbr\packaging.py", line 830, in _get_version_from_pkg_metadata
pkg_metadata = email.message_from_file(pkg_metadata_file)
File "c:\users\tbwyyds\appdata\local\programs\python\python38-32\lib\email\__init__.py", line 54, in message_from_file
return Parser(*args, **kws).parse(fp)
File "c:\users\tbwyyds\appdata\local\programs\python\python38-32\lib\email\parser.py", line 53, in parse
data = fp.read(8192)
UnicodeDecodeError: 'gbk' codec can't decode byte 0x91 in position 2877: illegal multibyte sequence
error in setup command: Error parsing C:\Users\tbwyyds\AppData\Local\Temp\pip-install-9us4hfe_\manimlib_e4f0d2c5010949ad9fa2f60926311eb9\setup.cfg: UnicodeDecodeError: 'gbk' codec can't decode byte 0x91 in position 2877: 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.
谁知道为什么啊?