You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
Hello, I am new to ParlAI. I am having issues with running ParlAI as an imported library in Python.
I am able to use 'parlai interactive' in my console to chat with the empathetic model, but I wanted to be able to call it from a python script.
I used 'from parlai.scripts import interactive' in my python script and keep receiving the following errors.
ModuleNotFoundError: No module named 'win32con'
ModuleNotFoundError: No module named 'win32con'
ImportError: parlai now requires iopath for some I/O operations. Please run pip install iopath
I did a pip install iopath and it was installed and registered in my requirements.txt. Then, I also tried to pip install win32con and received the errors:
ERROR: Could not find a version that satisfies the requirement win32con (from versions: none)
ERROR: No matching distribution found for win32con
I tried installing ParlAI using both pip install and the git clone method found in the documentations, but the issue occurs in both installation methods. I also tried using subprocess library to call 'parlai interactive', but it does not work either. I also copied the codes from https://parl.ai/docs/cli_custom.html and the error persists.