1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

pyinstallerインストール ( Python3, Ubuntu 20.04 )

Last updated at Posted at 2021-08-06

pythonをexe化するためのライブラリpyinstallerをubuntu20.04でインストールしてみました.

その時の手順を記載します.

環境

ubuntu 20.04

install

$ pip3 install pyinstaller

その後実行すると,以下のエラー発生

pyinstaller: コマンドが見つかりません

インストール先を調べる

$ sudo find / -name "pyinstaller"
/home/hoshina/.local/bin/pyinstaller
find: ‘/run/user/1000/gvfs’: 許可がありません

以下に実行ファイルがあることがわかった.~/.local/bin/pyinstaller

/usr/binにコピー

sudo cp .local/bin/pyinstaller /usr/bin/pyinstaller

確認 -> OK

$ pyinstaller -v
4.5

参考

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?