Evolutionary scale-free networks background cover

Evolutionary scale-free networks

EDF | INSEP challenge

EDF

Hosted by

EDF

Posted

Errors while importing packages

Hello, How can I solve the following issue? Mai012025.png
Thanks! Have a nice day.

Order by:

Antoine Chauvin

1

Posted by antoine •

Do you confirm you are trying to run the notebook inside Visual Studio Code?
If so, I can confirm it's running fine for me by:
  1. At the root of the submission, I run the command aqora clean,
  2. Then run aqora install,
  3. Then run aqora lab,
  4. Then, in Visual Studio Code, I run the command Python: Select Interpreter,
  5. Then, I select ./.venv/bin/python3.
From there I am able to run the notebook from top to bottom without issue.
Let me know if this was helpful to you, or if you need further assistance!

Tartarin Pascal

1

Posted by PaTartarin •

Hello @antoine! Thanks for your help! It works perfectly! Have a nice day.

Geoffroy Berthelot

1

Posted by Geoffroy_Berthelot •

Not sure to understand your issue, as build_graph and get_flow are Matlab files (not Python files).

Tartarin Pascal

1

Posted by PaTartarin •

So, what shall I do!

Tartarin Pascal

1

Posted by PaTartarin •

Thanks. I get this message when running solution.ipynb provided by Aqora.

Geoffroy Berthelot

1

Posted by Geoffroy_Berthelot •

Not sure to understand the issue with the "solution.ipynb" file, as I don't speak Python fluently. From my little understanding of the error displayed, the issue rely in the init function/file code. According to the following links: https://stackoverflow.com/questions/9252543/what-can-i-do-about-importerror-cannot-import-name-x-or-attributeerror https://rollbar.com/blog/python-importerror-cannot-import-name/# It seems that it is an issue with a circular dependency, or with the folder of the file.

Tartarin Pascal

1

Posted by PaTartarin •

Thanks Geoffroy! Could someone from Aqora have a look and revert accordingly? Thanks in advance.

Want to join this discussion?

Join our community today and start discussing with our members by participating in exciting events, competitions, and challenges. Sign up now to engage with quantum experts!