Warwick-Plasma / epoch

Particle-in-cell code for plasma physics simulations
https://epochpic.github.io
GNU General Public License v3.0
184 stars 58 forks source link

Module (sdf_helper) not found Error #731

Closed Tar-phy closed 4 weeks ago

Tar-phy commented 1 month ago

Hello , I cannot run python file to read SDF file , there is a Error "module not found". I'm facing this problem after updating my Ubutnu version 22 to Ubuntu 24 . Any one can help me to solve this problem Screenshot from 2024-10-23 11-01-30 Screenshot from 2024-10-23 11-28-26

TomGoffrey commented 1 month ago

I can't see the top of the second error message, but I'm assuming it's from you attempting to install the sdf python reader, which is failing due to how newer versions of python prevent global installs.

The easiest way to avoid this is to use a python environment, as the message suggests.

Tar-phy commented 1 month ago

Thank you for Reply......... but i have used python environment . It's showing same Error Screenshot from 2024-10-25 15-20-42

TomGoffrey commented 1 month ago

Start the python environment, build the sdf reader, and try again.

Tar-phy commented 4 weeks ago

Thank you. My problem has resolved.