figlet

PyInstaller ImportError: No module named 'pyfiglet.fonts'

跟風遠走 提交于 2021-02-07 04:01:26
问题 I'm attempting to use PyInstaller to compile one of the demo scripts for Asciimatics, in hopes to eventually be able to create a simple GUI for a text-based game I'm developing, and it returns the following error: C:\Users\X\Documents\Python Scripts\asciimatics samples\dist\test>test.exe Traceback (most recent call last): File "site-packages\setuptools-19.2-py3.4.egg\pkg_resources\__init__.py", line 443, in get_provider KeyError: 'pyfiglet.fonts' During handling of the above exception,

PyInstaller ImportError: No module named 'pyfiglet.fonts'

感情迁移 提交于 2021-02-07 04:00:19
问题 I'm attempting to use PyInstaller to compile one of the demo scripts for Asciimatics, in hopes to eventually be able to create a simple GUI for a text-based game I'm developing, and it returns the following error: C:\Users\X\Documents\Python Scripts\asciimatics samples\dist\test>test.exe Traceback (most recent call last): File "site-packages\setuptools-19.2-py3.4.egg\pkg_resources\__init__.py", line 443, in get_provider KeyError: 'pyfiglet.fonts' During handling of the above exception,

PyInstaller ImportError: No module named 'pyfiglet.fonts'

帅比萌擦擦* 提交于 2021-02-07 03:59:34
问题 I'm attempting to use PyInstaller to compile one of the demo scripts for Asciimatics, in hopes to eventually be able to create a simple GUI for a text-based game I'm developing, and it returns the following error: C:\Users\X\Documents\Python Scripts\asciimatics samples\dist\test>test.exe Traceback (most recent call last): File "site-packages\setuptools-19.2-py3.4.egg\pkg_resources\__init__.py", line 443, in get_provider KeyError: 'pyfiglet.fonts' During handling of the above exception,

bash logic inside command substitution

江枫思渺然 提交于 2020-12-15 00:36:21
问题 I have a little banner that I display at login fignow() { figlet -w $(tput cols) $(date +"%b %d, Week %V"); figlet -w $(tput cols) -f univers $(date +"%H:%M"); } This works fine if the additional fonts are installed to get univers , but that's not part of the default installation, so I can do the following: fignow() { figlet -w $(tput cols) $(date +"%b %d, Week %V"); if [ -f /usr/share/figlet/univers.flf ]; then figlet -w $(tput cols) -f univers $(date +"%H:%M"); else figlet -w $(tput cols) $

bash logic inside command substitution

旧巷老猫 提交于 2020-12-15 00:32:49
问题 I have a little banner that I display at login fignow() { figlet -w $(tput cols) $(date +"%b %d, Week %V"); figlet -w $(tput cols) -f univers $(date +"%H:%M"); } This works fine if the additional fonts are installed to get univers , but that's not part of the default installation, so I can do the following: fignow() { figlet -w $(tput cols) $(date +"%b %d, Week %V"); if [ -f /usr/share/figlet/univers.flf ]; then figlet -w $(tput cols) -f univers $(date +"%H:%M"); else figlet -w $(tput cols) $