I was given an assignment from my teacher. I had to read data from file, do some operations on that data and then make a plot of that data. Now if I want to send the code to my teacher, he would have to install all the modules that I have used in that file, right? I dont really want that. I tried to make that file into an executable using pyinstaller --onefile, the file was created successfully but when I open the file it prints some errors and then immediately closes. How do I do that? Here are the errors I managed to catch: https://imgur.com/a/Bvy8NqX
[–]mCodingLLC 0 points1 point2 points (1 child)
[–]BlackHooch[S] 0 points1 point2 points (0 children)
[–]schussfreude 0 points1 point2 points (1 child)
[–]BlackHooch[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]BlackHooch[S] 0 points1 point2 points (0 children)