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

Unable to find algorithm instance #237

Open
1 task done
dsta-siminong opened this issue Dec 27, 2023 · 6 comments
Open
1 task done

Unable to find algorithm instance #237

dsta-siminong opened this issue Dec 27, 2023 · 6 comments
Assignees
Labels
bug Something isn't working needs-triage Issues need triages by maintainer

Comments

@dsta-siminong
Copy link

dsta-siminong commented Dec 27, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Description

error
I uploaded the plugin zip file which showed the plugin, algorithm, input block and widget. However, when I tried to run the algorithm, there was an error message saying: Unable to find algorithm instance

Current Behavior

No response

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- Operating System and Version: wsl2
- AI Verify Version: 0.9
- Any other relevant information (e.g. version of related package dependencies installed):

Did you build using source code or from docker file? If from source code, please provide the below information: docker file
- Python Version:
- Node Version:
- Redis Version:
- Mongo Version: 
- Screen Resolution:

Screenshots/ Code snippets

No response

Additional Context

No response

Possible Solution (Optional)

I think it might have been due to a missing package. I tried to install (pip install deepchecks) but it returned an error ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/app/aiverify/venv/lib/python3.11/site-packages/webencodings'
Check the permissions.

@dsta-siminong dsta-siminong added bug Something isn't working needs-triage Issues need triages by maintainer labels Dec 27, 2023
@imda-benedictlee imda-benedictlee self-assigned this Dec 28, 2023
@dsta-siminong
Copy link
Author

Hi @imda-benedictlee

I tried to install a package that my plugin requires but was returned the following error message:
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/app/aiverify/venv/lib/python3.11/site-packages/webencodings'
Check the permissions.

@dsta-siminong
Copy link
Author

@imda-benedictlee I tried adding it to the docker file under "# Install dependencies into virtualenv" and it worked! Is there another way to go about this? Or do I have to add the dependencies into the Dockerfile everytime I need a new package?

@imda-benedictlee
Copy link
Contributor

imda-benedictlee commented Jan 3, 2024

Hi @simin-ong Thanks for bringing this to our attention and apologies for the delay in response. I am glad that your issue has been resolved. Can I check if you installed some plugins via UI, but it did not work? Thus, you have to do it at the docker build stage? Hope to hear more from you and Happy New Year!

@dsta-siminong
Copy link
Author

hi @imda-benedictlee, I installed the plugins successfully but was missing some dependencies (shown on the plugin page after installing a plugin) locally. It only worked when I installed those dependencies during the docker build stage.

Was wondering if there are other ways to install plugin dependencies?

Thank you and Happy New Year!

@imda-benedictlee
Copy link
Contributor

Hi @simin-ong, can I check if these dependencies are provided by default or this is external dependencies?

@dsta-siminong
Copy link
Author

Hi @imda-benedictlee they are external dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issues need triages by maintainer
Projects
None yet
Development

No branches or pull requests

2 participants