LoginSignup
3
5

More than 3 years have passed since last update.

PyInstaller3.5がPython3.8でエラーになる場合の対応(TypeError: an integer is required (got type bytes))

Last updated at Posted at 2019-11-27

事象

記事投稿時点(2019/11/27)だとPyInstallerをPython3.8で実行すると、以下のエラーが発生する

TypeError: an integer is required (got type bytes)

エラーの理由

現在(2019/11/27)の安定板であるPyInstaller3.5が、Python3.8に対応していないため。

対応策

Development版をダウンロードする。
pipでインストールするなら以下の通り。

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

3
5
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
3
5