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

p1_noun_transformation wptools dependency issues #321

Open
Saad-Mahamood opened this issue Oct 9, 2021 · 2 comments
Open

p1_noun_transformation wptools dependency issues #321

Saad-Mahamood opened this issue Oct 9, 2021 · 2 comments

Comments

@Saad-Mahamood
Copy link
Collaborator

The p1_noun_transformation relies on wptools as a dependency. However, wptools depends on pycurl. Unfortunately, pycurl keeps throwing the following message when used:

  File "/Users/saad/Documents/Research Work/GEM/NL-Augmenter/transformations/p1_noun_transformation/__init__.py", line 1, in <module>
    from .transformation import *
  File "/Users/saad/Documents/Research Work/GEM/NL-Augmenter/transformations/p1_noun_transformation/transformation.py", line 9, in <module>
    import wptools
  File "/Users/saad/Documents/Research Work/GEM/NL-Augmenter/venv/lib/python3.9/site-packages/wptools/__init__.py", line 23, in <module>
    from . import core
  File "/Users/saad/Documents/Research Work/GEM/NL-Augmenter/venv/lib/python3.9/site-packages/wptools/core.py", line 14, in <module>
    from . import request
  File "/Users/saad/Documents/Research Work/GEM/NL-Augmenter/venv/lib/python3.9/site-packages/wptools/request.py", line 17, in <module>
    import pycurl
ImportError: pycurl: libcurl link-time ssl backends (secure-transport) do not include compile-time ssl backend (openssl)
@kaustubhdhole
Copy link
Collaborator

@pawan2411

@pawan2411
Copy link
Contributor

pawan2411 commented Oct 11, 2021

@Saad-Mahamood

SHORT ANSWER:

USE REQUIREMENTS (transformations/p1_noun_transformation/requirements.txt) FILE FOR INSTALING WPTOOLS or MASTER BRANCH of WPTOOLS

LONG DETAILED ANSWER:

  1. wptools @ git+git://github.com/pawan2411/wptools@30738f1
  2. https://github.com/siznax/wptools

Use either of above repos to setup wptools.
I already did a PR on master of wptools to remove pycurl dep, which was accepted also.
But as per wptools owner it will take some time to release new version on pypy/pip.

Same reason in p1_noun_transformation requirements file i added my personal repo (1st one). You can also use master of orignal repo (2nd one)

@kaustubhdhole FYI.

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

No branches or pull requests

3 participants