Hello all,

I am very new to coding so I don't know a lot of things and I don't know if 
I can fix this problem on my own.

I was trying to make my python file into an executable and this file uses a 
special module name CS50 which I think was easier to handle SQL in. But 
whenever I try to run the executable, it shows Key error "Flask", It would 
be really helpful to know what this means.

I don't know how much I should past on this email but here is the error

Traceback (most recent call last):
  File "main.py", line 3, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
  File "cs50\__init__.py", line 20, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "cs50\flask.py", line 36, in _exec_module_after
KeyError: 'flask'

I would really like some help and I can send any other piece of code. I 
would also like to inform I am working on a plain Windows 64 computer

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/14ca0c00-cec5-4e2d-8239-d8d42cc01e73n%40googlegroups.com.

Reply via email to