Pymesher not found error

50 views
Skip to first unread message

Sneha

unread,
Sep 26, 2017, 4:06:33 AM9/26/17
to Salvus
Hello Salvus,

I get the following error .


ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-6-f2b43c047710> in <module>()
      1 # build a structured grid
----> 2 from pymesher.structured_grid_2D import StructuredGrid2D
      3 from scipy.interpolate import RectBivariateSpline
      4 
      5 sg = StructuredGrid2D.rectangle(nelem_x=nelem_x,

ModuleNotFoundError: No module named 'pymesher'

I am calling my python from inside the environment. What am I doing wrong?

Sincerely,
Sneha Singh

bung...@hotmail.com

unread,
Nov 29, 2017, 3:32:02 PM11/29/17
to Salvus
I got this error too. Have you got it fixed?

Lion Krischer

unread,
Nov 29, 2017, 3:46:05 PM11/29/17
to sal...@googlegroups.com

This must be a configuration issue with your Python installation. If `pip install` succeeds it will register the module and it will be found - this is really independent of if the mesher itself has some bugs or not. Double check you are using the correct python. Also make sure that you use the correct ipython (which has to be bound to the same python). If you use jupyter notebooks make sure you choose the correct kernels. Its quite easy to mix these things up.

Lion


On 29.11.17 21:32, bung...@hotmail.com wrote:
I got this error too. Have you got it fixed?
--
You received this message because you are subscribed to the Google Groups "Salvus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salvus+un...@googlegroups.com.
To post to this group, send email to sal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salvus/2962ee3e-3f28-48b7-993f-72ca9854cb03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bung...@hotmail.com

unread,
Jan 3, 2018, 10:10:54 AM1/3/18
to Salvus
Hi Lion,

It still doesn't work. Do you have other suggestions? 

Cheers,
Glory
Reply all
Reply to author
Forward
0 new messages