ModuleNotFoundError: No module named 'parlai_internal'
See original GitHub issueBug description Hi, I am trying to run the Wikipedia full dialogue model based on my own classed agent (get input from command line and give answers), and I got this error: https://parl.ai/docs/zoo.html#wizard-of-wikipedia-full-dialogue-retrieval-model
Traceback (most recent call last):
File "agenttest.py", line 36, in <module>
main()
File "agenttest.py", line 16, in main
default2 = create_agent_from_model_file(model_file='zoo:wizard_of_wikipedia/full_dialogue_retrieval_model/model')
File "D:\py-anaconda\envs\parlai_gpu\lib\site-packages\parlai\core\agents.py", line 348, in create_agent_from_model_file
return create_agent_from_opt_file(opt)
File "D:\py-anaconda\envs\parlai_gpu\lib\site-packages\parlai\core\agents.py", line 384, in create_agent_from_opt_file
model_class = load_agent_module(opt_from_file['model'])
File "D:\py-anaconda\envs\parlai_gpu\lib\site-packages\parlai\core\loader.py", line 188, in load_agent_module
my_module = importlib.import_module(module_name)
File "D:\py-anaconda\envs\parlai_gpu\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'parlai_internal'
Issue Analytics
- State:
- Created a year ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
ModuleNotFoundError: No module named 'parlai_internal'
I have downloaded the model (blender fine-tuned on ed) and have tried to interact with pretained model, however faced a problem. The command...
Read more >ModuleNotFoundError: No module named 'mephisto.core'
The ParlAI installation instructions on github state that Python 3.7 or higher is required, however it appears that you are using Python 3.6 ......
Read more >Model Zoo — ParlAI Documentation
Model Zoo¶. This is a list of pretrained ParlAI models. They are listed by task, or else in a pretraining section (at the...
Read more >no module named 'torch' - You.com | The AI Search Engine ...
Hi @jinfagang I am getting a ModuleNotFoundError when I try to run the ./make.sh command by coning this repository in my virtual machine....
Read more >parlai - PyPI
ParlAI (pronounced “par-lay”) is a python framework for sharing, training and testing dialogue models, from open-domain chitchat, to task-oriented dialogue, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

https://github.com/facebookresearch/ParlAI/blob/d83cb03df6a601f6b8b9387ebfca06c3313994f7/parlai/core/agents.py#L332
it’s a typo
This issue has not had activity in 30 days. Please feel free to reopen if you have more issues. You may apply the “never-stale” tag to prevent this from happening.