0

I've written a Python program using pandas in Pycharm which works really well. However when I try to convert the Python program into an .exe file using pyinstaller in command prompt, the program fails. It successfully converts to an exe file but wehen I execute the program, a new window appears for 0.25 seconds and than terminates. I took a print screen of the window and the error it says is

"ModuleNotFoundError: No module named numpy. "

This is really confusing as Numpy is installed and the program executes perfectly in pycharm. I've tried copying and pasting the code to a new file, and created a new python file with that code. Still getting the same issue. I'd appreciate any advice you can provide :)

A.Bux
  • 83
  • 2
  • 9
  • Have you tried this? https://stackoverflow.com/questions/53281867/creating-executable-file-of-my-python-script – Rishabh Kumar Feb 24 '21 at 15:35
  • https://stackoverflow.com/questions/54316480/pyinstaller-with-pandas-and-numpy-exe-throws-error-at-runtime –  Feb 24 '21 at 15:58

0 Answers0