Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip installation of NL-Augmenter fails because of tense transformation #342

Open
AbinayaM02 opened this issue Oct 12, 2021 · 6 comments
Open

Comments

@AbinayaM02
Copy link
Collaborator

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.

@AbinayaM02
Copy link
Collaborator Author

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

@MukundVarmaT
Copy link
Contributor

MukundVarmaT commented Oct 12, 2021

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

@AbinayaM02
Copy link
Collaborator Author

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?

@tanay2001
Copy link
Contributor

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

@MukundVarmaT
Copy link
Contributor

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

@AbinayaM02
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants