GEM-benchmark / NL-Augmenter

NL-Augmenter 🦎 → 🐍 A Collaborative Repository of Natural Language Transformations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pip installation of NL-Augmenter fails because of `tense` transformation

AbinayaM02 opened this issue · comments

tense transformation requires a library called pattern . The library is forked and the forked version is used in requirements which is causing the pip to fail. To avoid pip from failing, change the requirements to the actual pip package.

@tanay2001 and @MukundVarmaT : Please have a look at this issue. The pip install fails because of the pattern library used in the requirements.txt.

Hi @AbinayaM02,

There were some modifications which were required on top of the pattern library due to which we had to make a fork ourselves. The reason I think the pip install is failing is due to an unnecessary space in the requirements.txt (here).

i.e

pattern@git+https://github.com/tanay2001/pattern.git

Could you please confirm if this works for you.
Thanks

Hi @MukundVarmaT: Removing space didn't solve the issue. Looks like pip couldn't find the compatible version of mysqlclient.

ERROR: Could not find a version that satisfies the requirement mysqlclient (from pattern) (from versions: 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10, 1.3.11rc1, 1.3.11, 1.3.12, 1.3.13, 1.3.14, 1.4.0rc1, 1.4.0rc2, 1.4.0rc3, 1.4.0, 1.4.1, 1.4.2, 1.4.2.post1, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 2.0.0, 2.0.1, 2.0.2, 2.0.3)
ERROR: No matching distribution found for mysqlclient

Could you please try doing a fresh install of your transformation's requirements.txt alone and see if this happens?

Hi @MukundVarmaT: Removing space didn't solve the issue. Looks like pip couldn't find the compatible version of mysqlclient.

ERROR: Could not find a version that satisfies the requirement mysqlclient (from pattern) (from versions: 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10, 1.3.11rc1, 1.3.11, 1.3.12, 1.3.13, 1.3.14, 1.4.0rc1, 1.4.0rc2, 1.4.0rc3, 1.4.0, 1.4.1, 1.4.2, 1.4.2.post1, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 2.0.0, 2.0.1, 2.0.2, 2.0.3)
ERROR: No matching distribution found for mysqlclient

Could you please try doing a fresh install of your transformation's requirements.txt alone and see if this happens?

Hi @AbinayaM02

This seems to be a new issue, I have fixed the fork repo and it's working locally , please could you check again

@AbinayaM02
can you confirm if the issue is solved now. Thanks

Hi @MukundVarmaT: I have been busy with other PRs, so couldn't work on this issue. Will get back to you once I start working on it again.