-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot create a consistent method resolution order (MRO) for bases object, mesh_tools #1187
Comments
thanks for pointing out! this is a python2 versus python3 issue. the current script seems to work only with python2. I'll submit a fix to if you want to fix this in your version in the meantime, just remove the
and this should do the trick to avoid the MRO error in python3 versions. unfortunately, you'll run into another issue with the
and use regarding the MRO error: |
Hi, Even though I've used Python 2.7 to execute the script, which should create a Cubit model and convert it to Specfem2d, the results aren't as expected. This is quite perplexing and frustrating the code if needed:
I have searched for many EXAMPLES of py scripts from specfem2d, but they all are the same. Even if they run successfully, they still cannot output the complete files needed by specfem2d. I used to use specfem3d quite a lot. Now I want to try generating two-dimensional so I'm using specfem2d and openSWPC. I'm simply trying to generate a simple two-dimensional layered medium, but I'm encountering too many difficulties... |
please try out the devel version of SPECFEM2D and the related script file - if this issue still persists, give more details about OS/python version/Cubit version etc. - and hopefully someone can help you out with your Windows installation. regarding this one:
python3 recognizes the command |
Hello! Please take a look at the #1168 issue. I think this might help you. All the best. |
Hi,
Does anyone know how this problem should be solved?
I would appreciate it if anyone could provide some suggestions. If you need more details, please let me know.
Best
Haiyang Liao
522022290012@smail.nju.edu.cn
The text was updated successfully, but these errors were encountered: