Найти - Пользователи
Полная версия: PyInstaller и LookupError
Начало » Python для новичков » PyInstaller и LookupError
1
Hello_world
Приветствую.
Столкнулся с проблемой при сборке проекта с помощью pyinstaller. Точнее говоря, собирается нормально, единственное смущает сообщение: 19219 hidden import ‘encodings’ has been found otherwise.

При запуске .exe файла получаю ошибку:
lookuperror no codec search functions registered
И да, в сборке содержатся файлы pyside конвертированные в py-файлы с помощью pyside-uic.
Простые сборки вроде как собираются успешно.

Никто не сталкивался?
Спасибо.
Hello_world
Вроде как нагуглил аналогичную проблему:
http://www.pyinstaller.org/ticket/651

“I have the same issue as the OP, when building an .app on MacOSX (also PySide? based). I've found a fix by adding the runtime hook for the encodings:

runtime_hooks=PyInstaller/loader/rthooks/pyi_rth_encodings.py?”

Но у меня отсутствует папка rthooks и куда добавлять хук также не понял.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB