DedalusProject / dedalus

A flexible framework for solving PDEs with modern spectral methods.
http://dedalus-project.org/
GNU General Public License v3.0
489 stars 115 forks source link

Error in running tutorials of dedalus #273

Closed cshsgy closed 10 months ago

cshsgy commented 10 months ago

Hi, I encountered a problem in running the tutorials of dedalus. Traceback (most recent call last): File "/Users/sihechen/QG_Dedalus/tutorial/example.py", line 15, in coords = d3.CartesianCoordinates('x', 'y') ^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'dedalus.public' has no attribute 'CartesianCoordinates' I can run codes without the coords attribute, but I still want to start with the tutorials first. Any ideas? Thanks so much in advance!

kburns commented 10 months ago

It looks like you have installed v2 of the code but are trying to run the v3 tutorials. Please check the installation instructions for v3.