Исполняемый файл PyInstaller, использующий wx Python, отсутствующий Python Framework build - PullRequest
1 голос
/ 21 февраля 2020

Я пытаюсь использовать PyInstaller для создания собственных исполняемых файлов для моей программы Python.

Я запускаю cli и генерирую свой исполняемый файл с помощью команды: pyinstaller app.py

Когда я go для запуска моего исполняемого файла я получаю следующий вывод:

/usr/local/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py:623: MatplotlibDeprecationWarning: 
The MATPLOTLIBDATA environment variable was deprecated in Matplotlib 3.1 and will be removed in 3.3.
  exec(bytecode, module.__dict__)
Unable to revert mtime: /Library/Fonts
Unable to revert mtime: /Library/Fonts/IBM-Plex-Arabic
Unable to revert mtime: /Library/Fonts/IBM-Plex-Devanagari
Unable to revert mtime: /Library/Fonts/IBM-Plex-Mono
Unable to revert mtime: /Library/Fonts/IBM-Plex-Sans
Unable to revert mtime: /Library/Fonts/IBM-Plex-Sans-Condensed
Unable to revert mtime: /Library/Fonts/IBM-Plex-Sans-Hebrew
Unable to revert mtime: /Library/Fonts/IBM-Plex-Sans-Thai-Looped
Unable to revert mtime: /Library/Fonts/IBM-Plex-Serif
Unable to revert mtime: /Library/Fonts/IBM-Plex-Thai
This program needs access to the screen. Please run with a
Framework build of python, and only when you are logged in
on the main display of your Mac.

Я использую библиотеку wx Python для рендеринга GUI для моей программы - и я считаю, что это сообщение относится к этому.

Любой совет приветствуется.

...