ModuleNotFoundError: No module named 'mephisto.core'
ModuleNotFoundError: No module named 'mephisto.core'
我在 macOS Catalina 上使用最新版本的 Mephisto。我正在尝试 运行 ParlAI,特别是 acute_eval
任务。
根据两位Mephisto and AcuteEVAL的指示,我应该可以执行run.py
并得到任务运行ning。但是,我在 运行 时收到此错误,使用此命令:
python run.py --pairings_filepath=example/pairings.jsonl
这是错误:
Traceback (most recent call last):
File "run.py", line 17, in <module>
from parlai.crowdsourcing.tasks.acute_eval.acute_eval_blueprint import BLUEPRINT_TYPE
File "/Users/moli/opt/anaconda3/envs/py36/lib/python3.6/site-packages/parlai/crowdsourcing/tasks/acute_eval/acute_eval_blueprint.py", line 12, in <module>
from mephisto.core.registry import register_mephisto_abstraction
ModuleNotFoundError: No module named 'mephisto.core'
github 上的 ParlAI 安装说明指出需要 Python 3.7 或更高版本,但您似乎使用的是 Python 3.6。这可能是问题的原因,如果您升级 Python 版本,该程序应该可以运行。
我在 macOS Catalina 上使用最新版本的 Mephisto。我正在尝试 运行 ParlAI,特别是 acute_eval
任务。
根据两位Mephisto and AcuteEVAL的指示,我应该可以执行run.py
并得到任务运行ning。但是,我在 运行 时收到此错误,使用此命令:
python run.py --pairings_filepath=example/pairings.jsonl
这是错误:
Traceback (most recent call last):
File "run.py", line 17, in <module>
from parlai.crowdsourcing.tasks.acute_eval.acute_eval_blueprint import BLUEPRINT_TYPE
File "/Users/moli/opt/anaconda3/envs/py36/lib/python3.6/site-packages/parlai/crowdsourcing/tasks/acute_eval/acute_eval_blueprint.py", line 12, in <module>
from mephisto.core.registry import register_mephisto_abstraction
ModuleNotFoundError: No module named 'mephisto.core'
github 上的 ParlAI 安装说明指出需要 Python 3.7 或更高版本,但您似乎使用的是 Python 3.6。这可能是问题的原因,如果您升级 Python 版本,该程序应该可以运行。