Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3.11.4に更新する場合PyInstallerを更新してmodify_pyinstaller.bashを変更する必要がある。 #724

Closed
sabonerune opened this issue Aug 15, 2023 · 0 comments · Fixed by #765

Comments

@sabonerune
Copy link
Contributor

忘備録的なIssueです。

Python 3.11.4に更新した場合PyInstallerを5.12.0以上へ更新する必要があります。
https://pyinstaller.org/en/stable/CHANGES.html#id4

Fix ModuleNotFoundError: No module named 'ipaddress' for any application built with Python >=3.11.4. (#7692)

また、PyInstaller 3.5.7以上に更新するとPyInstallerのカスタムビルドに失敗するようになります。

これを回避するためにはMSVCのターゲットを指定するかDeveloper Command Promptの環境でビルドする必要があります。

(cd "$tempdir/bootloader" && python ./waf all)

- (cd "$tempdir/bootloader" && python ./waf all)
+ (cd "$tempdir/bootloader" && python ./waf all --msvc_targets=x64) 
aoirint added a commit to aoirint/voicevox_engine that referenced this issue Oct 9, 2023
y-chan pushed a commit that referenced this issue Oct 16, 2023
* Update to PyInstaller 5.13.2

* update requirements.txt

* modify_pyinstaller.bash: waf command: add --target-arch="64bit"

* modify_pyinstaller.bash: waf command: --msvc_targets="x64"

Thanks: #724

* pyinstaller ^5.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant