Q&A
前提
vscodeのターミナルのコマンドから、 manimlibをインストールしたいです。
ただ、下記のエラーが発生してしまい、どうしてもインストールができません。
error: subprocess-exited-with-error
python setup.py egg_info did not run successfully.
どうしたらインストールできるでしょうか、、
発生している問題・エラーメッセージ
Python 3.8.5
(base) C:\Users\username\Documents>pip install manimlib
Collecting manimlib
Using cached 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
╰─> [30 lines of output]
c:\users\username\anaconda3\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
warnings.warn(
c:\users\username\anaconda3\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(
c:\users\username\anaconda3\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead
warnings.warn(
c:\users\username\anaconda3\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
ERROR:root:Error parsing
Traceback (most recent call last):
File "c:\users\username\appdata\local\temp\pip-install-xw7e3hny\manimlib_47dcc49480b64dcea3a8dd902e3d8e20.eggs\pbr-5.11.0-py3.8.egg\pbr\core.py", line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "c:\users\username\appdata\local\temp\pip-install-xw7e3hny\manimlib_47dcc49480b64dcea3a8dd902e3d8e20.eggs\pbr-5.11.0-py3.8.egg\pbr\util.py", line 272, in cfg_to_args
pbr.hooks.setup_hook(config)
File "c:\users\username\appdata\local\temp\pip-install-xw7e3hny\manimlib_47dcc49480b64dcea3a8dd902e3d8e20.eggs\pbr-5.11.0-py3.8.egg\pbr\hooks_init_.py", line 25, in setup_hook
metadata_config.run()
File "c:\users\username\appdata\local\temp\pip-install-xw7e3hny\manimlib_47dcc49480b64dcea3a8dd902e3d8e20.eggs\pbr-5.11.0-py3.8.egg\pbr\hooks\base.py", line 27, in run
self.hook()
File "c:\users\username\appdata\local\temp\pip-install-xw7e3hny\manimlib_47dcc49480b64dcea3a8dd902e3d8e20.eggs\pbr-5.11.0-py3.8.egg\pbr\hooks\metadata.py", line 25, in hook
self.config['version'] = packaging.get_version(
File "c:\users\username\appdata\local\temp\pip-install-xw7e3hny\manimlib_47dcc49480b64dcea3a8dd902e3d8e20.eggs\pbr-5.11.0-py3.8.egg\pbr\packaging.py", line 862, in get_version
version = _get_version_from_pkg_metadata(package_name)
File "c:\users\username\appdata\local\temp\pip-install-xw7e3hny\manimlib_47dcc49480b64dcea3a8dd902e3d8e20.eggs\pbr-5.11.0-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\username\anaconda3\lib\email_init.py", line 54, in message_from_file
return Parser(*args, **kws).parse(fp)
File "c:\users\username\anaconda3\lib\email\parser.py", line 53, in parse
data = fp.read(8192)
UnicodeDecodeError: 'cp932' codec can't decode byte 0x91 in position 2877: illegal multibyte sequence
error in setup command: Error parsing C:\Users\username\AppData\Local\Temp\pip-install-xw7e3hny\manimlib_47dcc49480b64dcea3a8dd902e3d8e20\setup.cfg: UnicodeDecodeError: 'cp932' 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.
### 試したこと - pipコマンドをUpdate - pip3 install manimlib - pythonのバージョンを3.7,3.9に変更 ### 補足情報(FW/ツールのバージョンなど) ここにより詳細な情報を記載してください。
あなたの回答
tips
プレビュー