rhdtownsend / msg

Multidimensional Spectral Grids
GNU General Public License v3.0
11 stars 3 forks source link

No module named 'pycmsg' #22

Open MartianColonist opened 3 hours ago

MartianColonist commented 3 hours ago

After installing MSG-1.3 on Ubuntu 20.04 in a fresh conda environment, I'm hitting the following error upon importing pymsg:

Traceback (most recent call last): import pymsg as pymsg File "/home/....../anaconda3/envs/....../lib/python3.11/site-packages/pymsg/init.py", line 29, in import pycmsg as pyc ModuleNotFoundError: No module named 'pycmsg'

Is there any additional step, beyond those in the installation instructions in the MSG documentation, to install the pycmsg submodule?

MartianColonist commented 3 hours ago

It looks like to solve this problem the user needs 'cython' to be installed in their conda environment before compiling MSG ('make -j -C $MSG_DIR').

Can you add a note on the installation page under 'Building MSG' noting that cython is a prerequisite for pymsg?