-1

Suppose, I want to create a .exe file and i want all my features which are depended on certain packages or modules like tensorflow etc.So,how can i do this.

pallav rai
  • 27
  • 1
  • 1
  • 7

1 Answers1

0

You can use something like pyinstaller, you can install it like this:

pip install pyinstaller

Once you install it, use this syntax to create to an exe:

pyinstaller yourprogram.py

This will create a .exe file from your program which will be in a dist folder and will include all dependencies along with it.

Additional documentation is avaialable here on how to include an icon etc.