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 'tornet.data' #5

Open
cgeronasso opened this issue Oct 10, 2024 · 1 comment
Open

ModuleNotFoundError: No module named 'tornet.data' #5

cgeronasso opened this issue Oct 10, 2024 · 1 comment

Comments

@cgeronasso
Copy link

I have tried to install the module and also uncomment the Sys line, but still ModuleNotFoundError: No module named 'tornet.data', could you help?

@tonyreisll
Copy link
Collaborator

I assume you are trying to run one of the notebooks? It seems like a PATH related problem, python can't seem to find tornet.data. This should be taken care of when you run from the tornet root directory:

 pip install .

A quick solution would be to manually add tornet to sys.path at the beginning of your script.

sys.path.append("path/to/tornet")

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