Open akaysh opened 3 years ago
Upgrade pexpect, as from python 3.7 async is a reserved word;
pip install pexpect --upgrade
Upgrading pexpect
to the latest version (4.8.0 at this time) solves the async keyword issue but creates problem with DrQA as that explicitly requires version 4.2.1 here.
Upgrading
pexpect
to the latest version (4.8.0 at this time) solves the async keyword issue but creates problem with DrQA as that explicitly requires version 4.2.1 here.
At this point the only solutions I can think of are either:
async
keywords in the pexpect
source code (tedious and impractical)Option (1) suggested by Marco seems to be the only practical solution. However, for Mac one more issue is that indri-5.11 is only supported for Mac OSX 10.11.3. The documentation of indri-5.18 clearly says no support for OSX 10.12+ . On seeing this, I believe the best way forward is to use Docker for replicating the package on a Ubuntu (14.04/16.04/18.04) flavour container.
I have upgraded pexpect
to the latest version (4.8.0) and still the issue exist then upgrade it to (4.2.1) and still face the same issue, the error exactly similar to Akaysh query.
I made some updates to this package and made it working in a Docker container. The updates were pushed here https://github.com/hamed-zamani/macaw . Check its documentation section.
Using Ubuntu and all the specified versions of the libraries given in the macaw repo readme.