How to open a program created with python 3.7.0+ pyinstaller on another PC

Asked 2 years ago, Updated 2 years ago, 27 views

I tried what was written on the internet and tried to make it into a .exe file with pyinstaller, but I couldn't open it on another PC (without python).

http://kconcon3.hatenablog.com/entry/2018/01/22/230000

Screenshot looking at the contents of the  folder.There are three folders and two files.The folder names are __pycache__, build, dist in order.The filenames are sav, sav.spec in order.

python

2022-09-30 21:34

1 Answers

It's just a guess, but why don't you specify --onefile?
According to the write below, "If you enter --onefile in the argument, you can consolidate the relevant files into one."

https://atelier.hatenadiary.com/entry/2018/07/01/220418

Perhaps an error occurred due to insufficient libraries required in an environment without Python.
Try it.


2022-09-30 21:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.