Challenges
Datasets
Workspaces
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice
Evolutionary scale-free networks background cover

q-energy-hackathon-i / Evolutionary scale-free networks

Join now
Overview
Docs
Code
Rules
Discussion
Leaderboard
Pascal TartarinPaTartarin

1

Posted last yr.

Errors while importing packages

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

Order by:

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!

LoginSign up

Antoine Chauvin

1

Posted by antoine • last yr.

Hello @PaTartarin!
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!

Pascal Tartarin

1

Posted by PaTartarin • last yr.

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

Geoffroy Berthelot

1

Posted by Geoffroy_Berthelot • last yr.

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

Pascal Tartarin

1

Posted by PaTartarin • last yr.

So, what shall I do!

Pascal Tartarin

1

Posted by PaTartarin • last yr.

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

Geoffroy Berthelot

1

Posted by Geoffroy_Berthelot • last yr.

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.

Pascal Tartarin

1

Posted by PaTartarin • last yr.

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