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

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

新規登録して質問してみよう
ただいま回答率
85.50%
Python 3.x

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

Q&A

解決済

1回答

1393閲覧

pyinstallerがインストールできません。

ARATAKU

総合スコア16

Python 3.x

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

0グッド

0クリップ

投稿2019/04/20 06:41

このコミュニティに投稿していいのかよく分かりませんが、他に聞く場所がなかったためここで聞きます。
どうしてもpyinstallerをインストール出来ません。
エラーが出てしまいます。
コマンドプロントで以下のように入力しました。
コード

cmd

1pip install pyinstaller

発生したエラー

writing C:\Users\user\AppData\Local\Temp\pip-install-hocfeveu\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\PKG-INFO writing dependency_links to C:\Users\user\AppData\Local\Temp\pip-install-hocfeveu\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\dependency_links.txt writing entry points to C:\Users\user\AppData\Local\Temp\pip-install-hocfeveu\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\entry_points.txt writing requirements to C:\Users\user\AppData\Local\Temp\pip-install-hocfeveu\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\requires.txt writing top-level names to C:\Users\user\AppData\Local\Temp\pip-install-hocfeveu\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\top_level.txt writing manifest file 'C:\Users\user\AppData\Local\Temp\pip-install-hocfeveu\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt' reading manifest file 'C:\Users\user\AppData\Local\Temp\pip-install-hocfeveu\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' Error in sitecustomize; set PYTHONVERBOSE for traceback: SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0x82 in position 0: invalid start byte (sitecustomize.py, line 7) no previously-included directories found matching 'bootloader\build' no previously-included directories found matching 'bootloader.waf-*' no previously-included directories found matching 'bootloader.waf3-*' no previously-included directories found matching 'bootloader\waf-*' no previously-included directories found matching 'bootloader\waf3-*' no previously-included directories found matching 'bootloader\_sdks' no previously-included directories found matching 'bootloader.vagrant' warning: no previously-included files found matching 'bootloader.lock-waf*' no previously-included directories found matching 'doc\source' no previously-included directories found matching 'doc\_build' warning: no previously-included files matching '*.tmp' found under directory 'doc' warning: no files found matching 'news\_template.rst' no previously-included directories found matching 'news' no previously-included directories found matching 'old' no previously-included directories found matching 'scripts' no previously-included directories found matching 'tests\scripts' no previously-included directories found matching '.github' warning: no previously-included files found matching '.*' warning: no previously-included files found matching '*.yml' warning: no previously-included files found matching '*~' warning: no previously-included files found matching '.directory' writing manifest file 'C:\Users\user\AppData\Local\Temp\pip-install-hocfeveu\pyinstaller\pip-wheel-metadata\PyInstaller.egg-info\SOURCES.txt' creating 'C:\Users\user\AppData\Local\Temp\pip-install-hocfeveu\pyinstaller\pip-wheel-metadata\PyInstaller.dist-info' error: invalid command 'bdist_wheel' ---------------------------------------- Command "c:\users\user\appdata\local\programs\python\python36\python.exe c:\users\user\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\pep517\_in_process.py prepare_metadata_for_build_wheel C:\Users\ser\AppData\Local\Temp\tmptibpf6_j" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-install-hocfeveu\pyinstaller

試したこと

何をすれば良いのか分からなかったので、何回も繰り返し「pip install pyinstaller」と入力しました。エラーについて調べましたが、よく分かりませんでした。いくら調べても分からなかったので、質問することにしました。

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

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

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

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

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

hayataka2049

2019/04/20 07:39 編集

原因究明のために、pythonの環境構築をどのように行ったか、できるだけ詳しく書いてください。環境構築の問題かもしれません。python2とpython3が両方入っていたりはしませんか?
ARATAKU

2019/04/20 13:02

windowsで、pythonは3のみ入っています。総合開発環境は標準の物?を使っています。入門書に書いてある通りに環境構築しているので、妙に難しいことはしていないとは思います。公式なページからダウンロードしました。(ずいぶん前に構築したので、細かい方法までは覚えていません。)
ARATAKU

2019/04/20 13:04

すみません。解決しました。ご協力ありがとうございました。
guest

回答1

0

自己解決

pip install wheelを実行すれば大丈夫でした。

投稿2019/04/20 13:05

ARATAKU

総合スコア16

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

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

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.50%

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

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

質問する

関連した質問