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

AttributeError: cython_sources #8

Closed
sailor-z opened this issue Sep 11, 2024 · 3 comments
Closed

AttributeError: cython_sources #8

sailor-z opened this issue Sep 11, 2024 · 3 comments

Comments

@sailor-z
Copy link

Hi,

Thanks for releasing the code. I failed to install the dependency pyyaml==5.4.1 and I got the error:

AttributeError: cython_sources

I found some solutions by switching to another version like yaml/pyyaml#724 (comment)

However, it seems that volumentations is not compatible with other versions of pyyaml. Could you please share some information how you managed to handle this problem?

@0nandon
Copy link
Collaborator

0nandon commented Sep 11, 2024

Thanks for your interest.

You may check this issue in the Mask3D repo. It will resolve your issue.

@0nandon 0nandon closed this as completed Sep 11, 2024
@sailor-z
Copy link
Author

Thanks for your prompt reply. I have tried this solution, but I got another error after I ran pip install "cython<3.0.0".
image

This error occurs when importing pytorch-lightning. I have also tried different versions of lightning, but none of them works.

@0nandon
Copy link
Collaborator

0nandon commented Sep 24, 2024

Hi @sailor-z, and sorry for the late reply.

We simulated the installation process again and checked that it works fine in our environment. It seems that error is related to importlib-metadata library. You may check the version of corresponding library.

Furthermore, check this post.

Thanks.

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