Python Forum

Full Version: Developed App in VS2019 - Help with pyinstaller
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
HI,

I have developed a simple app in vs2019. if I 'run' it - it works as expected. There is a single .py file in the solution. If I try and create an executable using pyinstaller the and try and run the exe file it doesn't work. Would this be due to the virtual environment that I created??

My initial imports are :

import requests
import json
import os
import csv
import pandas as pd
from pprint import pprint
I have developed the app on my local machine and have insured that python 3.8 is installed on the server that I want to run the executable on (I have tested this by typing python at the command prompt).

Is there a walkthrough on exporting a solution from vs2019 - or is there is better way to create the app?

Many thanks
Fiorano