Open bobitza opened 2 months ago
Error: ImportError: cannot import name 'i18n' from 'printer
Tried command: pyinstaller --onefile --clean --windowed --debug=all server.py
pyinstaller --onefile --clean --windowed --debug=all server.py
This is server.spec:
# -*- mode: python ; coding: utf-8 -*- a = Analysis( ['server.py'], pathex=['C:\\Python311\\Scripts', 'C:\\Users\\coman\\Downloads\\Imprimanta-termica-by-bogdan-python\\Cat-Printer-main\\wvenv\\Lib\\site-packages', 'C:\\Python311\\Lib\\site-packages'], binaries=[], datas=[], hiddenimports=['printer', 'i18n'], hookspath=[], hooksconfig={}, runtime_hooks=[], excludes=[], noarchive=True, optimize=1, ) pyz = PYZ(a.pure) exe = EXE( pyz, a.scripts, a.binaries, a.datas, [('v', None, 'OPTION')], name='server', debug=True, bootloader_ignore_signals=False, strip=False, upx=True, upx_exclude=[], runtime_tmpdir=None, console=False, disable_windowed_traceback=False, argv_emulation=False, target_arch=None, codesign_identity=None, entitlements_file=None, )
Error: ImportError: cannot import name 'i18n' from 'printer![Screenshot 2024-05-07 151117](https://github.com/NaitLee/Cat-Printer/assets/1919467/02d4862f-4b0a-4afd-96ed-a122b3b95464)
Tried command:
pyinstaller --onefile --clean --windowed --debug=all server.py
This is server.spec: