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
H2 Ground State Energy Calculation background cover

qiskit-fall-fest / H2 Ground State Energy Calculation

Join now
Overview
Docs
Code
Rules
Discussion
Leaderboard
Enzo SOLEREnzo_SOLER

2

Posted 2y ago

Error with the venv

Hello,
I am trying to do the tutorial using the given venv.
I did aqora install.
When I try to run the start_here.ipynb file I got this error:
"ModuleNotFoundError: No module named '_bz2'"
Also, when I try to do aqora test in the venv i get another error:
error .png
Thank you for your help.
If you need any other information, ask me.

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

Jannes Stubbemann

1

Posted by stubbi • 2y ago

Thanks for reaching out, @enzo_soler!
Have you made any modifications to the code after running the aqora template command?

Enzo SOLER

2

Posted by enkagzo • 2y ago (edited)

I just created a new account for testing if the problem is linked with the account or not but I still have the same error in the end.
"ModuleNotFoundError: No module named '_bz2'"

Enzo SOLER

2

Posted by Enzo_SOLER • 2y ago

Hello,
I don't remember doing it.
Just in case, I did aqora clean and tried again (same problem). I did remove the folder and do all from the beginning (same problem).
I don't have any other idea.
Do you have any other suggestions to reset?

Jannes Stubbemann

1

Posted by stubbi • 2y ago

I just quickly googled that error myself, could this be the solution?
sudo apt-get install libbz2-dev

Enzo SOLER

2

Posted by Enzo_SOLER • 2y ago

Hello again.
I downloaded a VM in order to restart everything with a clean environment. And it works. :D
Sorry for the bother. I still don't know what is wrong with my environment, but I now have a way to work!
Thank you again for your help!

Jannes Stubbemann

1

Posted by stubbi • 2y ago

Awesome!

Enzo SOLER

2

Posted by Enzo_SOLER • 2y ago

I also thought of that but why is it working outside of the venv and not inside ?
I tried to do "sudo apt-get install libbz2-dev" inside the venv and it still doesn't work.

Jannes Stubbemann

1

Posted by stubbi • 2y ago

alright, thanks for sharing and checking that!
@antoine can I ask you to check this one? 🙏