質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Visual Studio Code

Visual Studio Codeとは、Microsoft社が開発したマルチプラットフォーム対応のテキストエディタです。Visual Studioファミリーの一員でもあります。拡張性とカスタマイズ性が高く、テキストエディタでありながら、IDEと遜色ない機能を備えることができます。

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

pip

pipとは、Pythonを用いて書かれているパッケージソフトのインストールや管理を行うためのパッケージマネジメントシステムです。pipを使う主なメリットは、コマンドラインインターフェースにて容易にPythonパッケージソフトをインストール可能だという点です。

Q&A

0回答

10222閲覧

subprocess-exited-with-errorで pip installできない。

SumsumN

総合スコア14

Visual Studio Code

Visual Studio Codeとは、Microsoft社が開発したマルチプラットフォーム対応のテキストエディタです。Visual Studioファミリーの一員でもあります。拡張性とカスタマイズ性が高く、テキストエディタでありながら、IDEと遜色ない機能を備えることができます。

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

pip

pipとは、Pythonを用いて書かれているパッケージソフトのインストールや管理を行うためのパッケージマネジメントシステムです。pipを使う主なメリットは、コマンドラインインターフェースにて容易にPythonパッケージソフトをインストール可能だという点です。

0グッド

0クリップ

投稿2022/10/22 13:29

前提

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/ツールのバージョンなど) ここにより詳細な情報を記載してください。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問