mixmastamyk / console

Comprehensive utility library for terminals. “Better… Stronger… Faster.”
GNU Lesser General Public License v3.0
34 stars 5 forks source link

No module named 'console #16

Open devlop7 opened 1 year ago

devlop7 commented 1 year ago

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!
mixmastamyk commented 1 year ago

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.

solaluset commented 1 year ago

Hello

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