2017-10-15 4 views
0

J'ai installé, désinstallé, réinstallé FontTools et Fontmake via pip. Cependant, chaque fois que j'essaie d'appeler Fontmake dans le terminal, j'obtiens l'erreur suivante. Py23 semble être une dépendance Fonttools, qui est également installée.Message d'erreur après l'installation de fontmake: "Aucun module nommé py23"

Merci d'avance pour toute aide!

retraçage (le plus récent appel dernier): fichier "/ usr/local/bin/fontmake", ligne 9, en load_entry_point ('fontmake == 1.3.1.dev0', 'console_scripts', 'fontmake')() Fichier "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", ligne 357, dans le point de chargement load_entry_point return get_distribution (dist) .load_entry_point (groupe, nom) Fichier "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", ligne 2394, dans le point de chargement load_entry_point return ep.load() Fichier "/ System/Library/Frameworks /Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py ", ligne 2108, en charge entry = importation (self.module_name,(), globals(), GLOBALS [ 'nom']) Fichier "/Library/Python/2.7/site-packages/fontmake/ principale .py", ligne 18, dans à partir de fontmake.font_project import FontProject Fichier "/Library/Python/2.7/site-packages/fontmake/font_project.py", ligne 37, en de defcon import Police Fichier "/Library/Python/2.7/site- packages/defcon/init .py ", ligne 10, dans à partir de defcon.objects.font import Police Fichier" /Library/Python/2.7/site-packages/defcon/objects/font.py ", ligne 6, dans à partir de ufoLib import UFOReader, UFOWri ter fichier "/Library/Python/2.7/site-packages/ufoLib/ initialisation .py", ligne 6, à de basestring d'importation fontTools.misc.py23, unicode ImportError: Aucun module nommé py23

Répondre

0

J'ai corrigé cela en installant Fonttools à partir des fichiers source, au lieu d'installer avec pip.