You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Step 1: Put all images folder to "dist" folder (folder to deploy app)
125
-
# Step 2: Open CMD/Terminal and change directory path to main python script
126
-
# Step 3: Run command in first time => pyinstaller --clean --distpath=./app_build --workpath=./temp --onefile --name ExchangeRatesPrediction ./__main__.py
124
+
# Step 1: Put all neccessary media/config files to build folder (folder to deploy app)
125
+
# Step 2: Open CMD/Terminal and change directory path to main python script (__main__.py)
126
+
# Step 3: Run command pip install these packages: pyinstaller, tornado, pypiwin32
127
+
# Step 4: Run command in first time => pyinstaller --clean --distpath=./app_build --workpath=./temp --onefile --name ExchangeRatesPrediction ./__main__.py
127
128
# Or Run this command when already have .spec file => pyinstaller --clean --distpath=./app_build --workpath=./temp --add-data="config.json;." --add-data="/model_trained/linear_model.pkl;." --onefile ExchangeRatesPrediction.spec
0 commit comments