Hello, i found a workaround -
when i write "import pymysql" into my py-file - then the program after compiling with pyinstaller is working fine (for the general run of the python-program in my pycharm-IDE this import is NOT necessary - but it seems that pyinstaller needs it) KR bwoodsend schrieb am Freitag, 27. November 2020 um 11:16:37 UTC+1: > Does the usual --hidden-import pym not do the job? If not can you run > > python -c "import pym" > > and > > python -m PyInstaller --onefile --hidden-import pycountry --exclude-module > matplotlib StockVal.py > > and report the results for each. > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/24c7e8a6-01bf-4a95-8972-99a028f6d3f4n%40googlegroups.com.