console icon indicating copy to clipboard operation
console copied to clipboard

No module named 'console

Open devlop7 opened this issue 3 years ago • 2 comments

i have this issue even i have install it and it work but when i convert py to exe i have this issue

Traceback (most recent call last):
  File "<dist\obf\main.py>", line 3, in <module>
  File "<frozen main>", line 157, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "<menu_init.py>", line 1, in <module>
  File "<frozen menu_init>", line 6, in <module>
ModuleNotFoundError: No module named 'console'
[12568] Failed to execute script 'main' due to unhandled exception!

devlop7 avatar Nov 15 '22 14:11 devlop7

Hi, I'm not very familiar with pyinstaller. Looks like on Windows.

Console is pure python so shouldn't have any install difficulties.

I believe for these type of installers you need to list the packages you require in a config file.

mixmastamyk avatar Nov 18 '22 17:11 mixmastamyk

Hello

PyInstaller can't recognise # -*- coding: future_fstrings -*- and skips the module. Install future_fstrings module to build the executable successfully.

solaluset avatar Jun 24 '23 12:06 solaluset