facebookresearch / ParlAI

A framework for training and evaluating AI models on a variety of openly available dialogue datasets.
https://parl.ai
MIT License
10.48k stars 2.09k forks source link

'parlai.tasks.babi.agents' has no attribute create_agents #768

Closed attardi closed 6 years ago

attardi commented 6 years ago

Invoking:

python3 examples/display_data.py -t babi:task1k:1

This just after cloning the master and issuing

pip3 install -r requirements.txt
python3 setup.py install
alexholdenmiller commented 6 years ago

Thanks for reporting! Can you post the full stack trace? That error is expected and caught, there should be another one.

attardi commented 6 years ago

It seems to be a problems with permissions. I fixed it by doing:

 sudo mkdir /usr/local/lib/python3.5/dist-packages/parlai-0.1.0-py3.5.egg/data
 sudo chmod o+w /usr/local/lib/python3.5/dist-packages/parlai-0.1.0-py3.5.egg/data
alexholdenmiller commented 6 years ago

Ah I see, it’s because you did “install” instead of “develop” which uses the local directory for the installation