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

Error importing MetabolicNetwork class from dingo package in Google Colab (GSoC 2023) #60

Closed
samadpls opened this issue Mar 3, 2023 · 1 comment · Fixed by #63
Closed

Comments

@samadpls
Copy link

samadpls commented Mar 3, 2023

Describe the bug
When running the cell provided in the README of the "https://github.com/GeomScale/dingo" project on Google Colab, an error message appears stating that the name 'MetabolicNetwork' cannot be imported from 'dingo' at an unknown location.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the following link: "https://colab.research.google.com/github/GeomScale/dingo/blob/develop/tutorials/dingo_tutorial.ipynb"
  2. Run all cells until the point where it is written "from dingo import MetabolicNetwork".

Expected behavior
The code should be able to import the MetabolicNetwork class from the dingo package without any errors.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Google Chrome
  • Version: 110.0.5481.178 (Official Build) (64-bit)

Additional context
I am working on task 1 for applying to GSoC on this project and I need assistance in resolving this issue so that I can complete my task.

hariszaf added a commit to hariszaf/dingo that referenced this issue Mar 4, 2023
hariszaf added a commit to hariszaf/dingo that referenced this issue Mar 4, 2023
@hariszaf
Copy link
Collaborator

hariszaf commented Mar 4, 2023

Hi @samadpls thanks for mentioning this.

Make sure of the Python version your colab notebook uses and edit the
.path.append("/root/.local/lib/python3.7/site-packages/")) line accordingly.

@vissarion vissarion reopened this Mar 6, 2023
@vissarion vissarion linked a pull request Mar 6, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants