ModuleNotFoundError:没有名为“ mephisto.core”的模块

我在macOS Catalina上使用了最新版本的Mephisto。我正在尝试运行ParlAI,尤其是acute_eval任务。根据MephistoAcuteEVAL的说明,我应该能够执行run.py并使任务运行。但是,使用以下命令运行此错误消息:

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版本,则程序应该可以运行。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

ModuleNotFoundError:没有名为“ knox”的模块

ModuleNotFoundError:没有名为“项目”的模块

ModuleNotFoundError:没有名为“ camelcase”的模块

ModuleNotFoundError: 没有名为“model”的模块

ModuleNotFoundError: 没有名为“src”的模块

ModuleNotFoundError:没有名为“dbutils”的模块

ModuleNotFoundError:没有名为“ fastai”的模块

ModuleNotFoundError:没有名为“dmidecode”的模块

ModuleNotFoundError: 没有名为“tensorboard”的模块

ModuleNotFoundError:没有名为“ pynput”的模块

ModuleNotFoundError:没有名为“ jieba”的模块

ModuleNotFoundError:没有名为“ buildozer”的模块

ModuleNotFoundError:没有名为“模型”的模块

ModuleNotFoundError:没有名为“ matplotlib”的模块

ModuleNotFoundError: 没有名为“bootstrapform”的模块

ModuleNotFoundError:没有名为“ BaseHTTPServer”的模块

ModuleNotFoundError:没有名为“ Cython”的模块

ModuleNotFoundError:没有名为“ gin”的模块

没有名为“Skimage”的模块 ModuleNotFoundError

ModuleNotFoundError:没有名为“ mglearn”的模块

ModuleNotFoundError:没有名为“烧瓶”的模块

ModuleNotFoundError:没有名为“python”的模块

ModuleNotFoundError:没有名为“建模”的模块

ModuleNotFoundError: 没有名为“aiohttp”的模块

ModuleNotFoundError:没有名为“ printSoln”的模块

ModuleNotFoundError:没有名为“ lxml”的模块

ModuleNotFoundError:没有名为“ ruamel”的模块

ModuleNotFoundError:没有名为“ jose”的模块

ModuleNotFoundError:没有名为“ Ipython”的模块