P
P
Python Newbie2021-08-12 10:28:57
Python
Python Newbie, 2021-08-12 10:28:57

How to make an .exe from a python file?

Hello

, I am making a voice assistant.
It has many different modules, and I will also connect other voices from Windows, dialogflow, etc.

Here is the code

How can this be done? And it is desirable that it would run on linux. The same would not refuse macOS.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Stefan, 2021-08-12
@MEDIOFF

How are you going to run the .exe on linux and macOs?

J
jerwright, 2021-08-12
@jerwright

Use libraries such as Pyinstaller, Nuitka, auto-py-to-exe. I just watched the video: it says that Pyinstaller allows you to open the file in linux, but with regards to MacOS, I'm not sure.

A
Artem Imaev, 2021-08-12
@AIRC24

pyinstaller is an excellent choice, but in exe you will solve the problem only for windows, it seems that you need to compile them in the OS itself for which you want to make it (probably, like some developers, you will have to supply the program for all OSes together) you probably did not study the difference between OS-m. I hope my answer is clear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question