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

nlp.install() does not reuse existing python packages when nlp.settings.enforce_versions=False #285

Open
KshitizGIT opened this issue May 30, 2023 · 0 comments
Assignees

Comments

@KshitizGIT
Copy link
Contributor

KshitizGIT commented May 30, 2023

Steps to Reproduce

  1. Install numpy ==1.22.4
pip3 install numpy==1.22.4
  1. Run nlp.install() with nlp.settings.enforce_versions=False
    In cloud environment we use,
   from johnsnowlabs import nlp
   nlp.settings.enforce_versions=False
   nlp.install(ocr_secret={ocr_secret}, enterprise_nlp_secret={nlp_jsl_secret}, visual=True)

jsl_error

Observed Behavior
During installation, numpy package is updated instead of reusing the existing numpy==1.22.4.
Note: This doesn't happen with nlp.settings.enforce_versions=True

Expected Behavior
The numpy package should be reused.

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

2 participants