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

Make import failures in kedro-datasets clearer, take 2 #4331

Closed
astrojuanlu opened this issue Nov 13, 2024 · 2 comments
Closed

Make import failures in kedro-datasets clearer, take 2 #4331

astrojuanlu opened this issue Nov 13, 2024 · 2 comments

Comments

@astrojuanlu
Copy link
Member

Description

In #2943 we partly addressed the issue of unclear errors with datasets.

However, looks like this is still an issue. For example: https://kedro.hall.community/running-kedroviz-on-docker-without-installing-the-library-H0d61LTldx29#bae33c48-aa82-447b-82e7-80486a95ecef

The user was getting

Class 'projx.models.audio.io.LargeModel' not found, is this a typo?

but the actual underlying error was:

>>> from projx.models.audio.io import LargeModel
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/app/src/projx/models/audio/__init__.py", line 1, in <module>
    from .base import LAM
  File "/app/src/projx/models/audio/base.py", line 1, in <module>
    from elevenlabs.client import ElevenLabs
ModuleNotFoundError: No module named 'elevenlabs'

Another internal user reported this today, which prompted me to open this issue.

Context

Steps to Reproduce

(TBC)

Expected Result

Actual Result

-- If you received an error, place it here.
-- Separate them if you have more than one.

Your Environment

  • Kedro version used (pip show kedro or kedro -V):
  • Python version used (python -V):
  • Operating system and version:
@yury-fedotov
Copy link
Contributor

I think this is related as well: #3971 ?

@astrojuanlu
Copy link
Member Author

Oh you're right @yury-fedotov. Let me actually close this one!

@astrojuanlu astrojuanlu closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants