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

Fixing the need to install libraries when they are not given in the input #50

Open
farinamhz opened this issue Oct 7, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@farinamhz
Copy link
Member

Now, whenever users are going to run the pipeline, even if they do not need a specific model in a specific layer, they need to install the libraries before running the pipeline, otherwise, they will get an error from the interpreter that does not recognize some libraries. For example, although users only want the LDA.mallet model in Topic Modeling Layer and they have not entered the gensim model as a choice in the running command, they need to install both gensim and LDA.mallet.

For handling this, we need to do two things:

  1. As a comment, remind them that install the libraries of requirements.txt and environment.yml which they need to use, not all of the libraries which are there.
  2. Relocate the importing codes to the specific methods which are called by parameters to prevent importing the libraries which are not necessary.
@farinamhz farinamhz self-assigned this Oct 7, 2022
@farinamhz farinamhz changed the title Fixed the need to install libraries when they are not given in the input Fixing the need to install libraries when they are not given in the input Oct 7, 2022
@hosseinfani hosseinfani added the enhancement New feature or request label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants