Ошибка установки Transcrypt
После установки Transcrypt на MacOS High Sierra и Python 3.7, когда я пытаюсь запустить пример сценария (transcrypt -b -m hello.py), я получаю следующее сообщение ниже. Я также получаю похожее сообщение при установке на компьютере с Windows 7:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/transcrypt", line 11, in <module>
load_entry_point('Transcrypt==3.6.101', 'console_scripts', 'transcrypt')()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 480, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2693, in load_entry_point
return ep.load()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2324, in load
return self.resolve()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2330, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/transcrypt/__main__.py", line 53, in <module>
from org.transcrypt import compiler
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/transcrypt/modules/org/transcrypt/compiler.py", line 2300
self.visit_FunctionDef (node, async = True)