I am trying to use Google Colab to install MEEP.
!wget -c https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
!chmod +x Miniconda3-latest-Linux-x86_64.sh
!bash ./Miniconda3-latest-Linux-x86_64.sh -b -p ./anaconda
import os
os.environ['PATH'] += ":/content/anaconda/bin"
!conda create -n mp -c conda-forge pymeep
import sys
sys.path.append('/content/anaconda/envs/mp/lib/python3.8/site-packages/')
I copied the code from here: https://gist.github.com/venky18/e24df1e55502e2d6523881b3f71c0bff.
However, it turns out an error message:
ImportError: /content/anaconda/envs/mp/lib/python3.9/site-packages/meep/_meep.so: undefined symbol: PyCMethod_New
How do I modify my code to install it correctly?