[Solved] Python Run Error: line 192, in _run_module_as_main return _run_code(code, main_globals, None

Solution:

Run CMD as Administrator

Use command:  pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

Re-execute: Python – M PIP install — upgrade pip

Just run the code again

Similar Posts: