H2 Ground State Energy Calculation background cover

H2 Ground State Energy Calculation

Learn how to compete on the Aqora platform

aqora

Hosted by

aqora

Posted

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:

Jannes Stubbemann

1

Posted by stubbi

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 (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

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

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

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

Awesome!

Enzo SOLER

2

Posted by Enzo_SOLER

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

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

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!