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

ModuleNotFoundError: No module named 'efficient_kan' #52

Open
pascal-maker opened this issue Oct 13, 2024 · 3 comments
Open

ModuleNotFoundError: No module named 'efficient_kan' #52

pascal-maker opened this issue Oct 13, 2024 · 3 comments

Comments

@pascal-maker
Copy link

when running ! python /content/efficient-kan/tests/test_simple_math.py i receive the following error: Traceback (most recent call last):
File "/content/efficient-kan/tests/test_simple_math.py", line 5, in
from efficient_kan import KAN
ModuleNotFoundError: No module named 'efficient_kan'

@fairlyy
Copy link

fairlyy commented Oct 16, 2024

Hello, I encountered the same issue, and I’ve now resolved it. I moved the files ① init.py and ② kan.py from the efficient_kan directory to the tests folder. Then, I used the following statement for importing: from tests.model import KAN. No errors were reported.
1729083792716

@everythingisc00l
Copy link

I do the same and it's works.
изображение

@machiba
Copy link

machiba commented Jan 11, 2025

from src.efficient_kan import KAN改成这个

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

4 participants