I have developed a Python program that interacts with the user through console inputs. I have converted this program into an executable file using PyInstaller. However, I have encountered an issue where I have installed external libraries in the script (matplotlib). When I run this script in the Windows console (cmd), I receive the following error message:
Traceback (most recent call last):
File "main.py", line 2, in <module>
ModuleNotFoundError: No module named 'matplotlib'
[27724] Failed to execute script 'poll_analysis' due to unhandled exception!
In my original script i installed everything propperly
How can I resolve this error?