I seem to still be facing this issue. If I run pip list I seem to have "dedalus
". However, I still seem to face the "
" error. Using d3.timesteppers.SBDF2 seems to work though. But then "
" fails.
For context, I am trying to get dedalus to work on google colab. Here's the script I'm using to set up the installation, maybe something is getting messed up there:
## Check Dedalus isn't already installed
## Installation takes about 1-2 mins
try:
import dedalus.public as de
print("Dedalus already installed")
except:
print("Dedalus not installed yet. Let's do it.")
# Step 1: Install FFTW
!apt-get install libfftw3-dev
!apt-get install libfftw3-mpi-dev
# Step 2: Set paths for Dedalus installation
import os
os.environ['MPI_INCLUDE_PATH'] = "/usr/lib/x86_64-linux-gnu/openmpi/include"
os.environ['MPI_LIBRARY_PATH'] = "/usr/lib/x86_64-linux-gnu"
os.environ['FFTW_INCLUDE_PATH'] = "/usr/include"
os.environ['FFTW_LIBRARY_PATH'] = "/usr/lib/x86_64-linux-gnu"
# Step 3: Install Dedalus using pip
!pip3 install dedalus
# Step 4: Check Dedalus is importable
print()
print()
try:
import dedalus.public as de
print("Dedalus successfully installed :)")
except:
print("Error installing Dedalus :(")
raise