sdss / marvin

Data access and visualization for MaNGA. http://sdss-marvin.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
55 stars 32 forks source link

Installation failure with python3.8 #775

Closed khrrubin closed 2 years ago

khrrubin commented 2 years ago

Hi all,

I just attempted a new installation of marvin on my M1 mac. When running check_marvin, I got the following failure:

Traceback (most recent call last): File "/Users/krubin/anaconda3/envs/marvin/bin/check_marvin", line 66, in raise ImportError('Marvin cannot be imported! {0}\n{1}'.format(e, traceback)) ImportError: Marvin cannot be imported! cannot import name 'soft_unicode' from 'markupsafe' (/Users/krubin/anaconda3/envs/marvin/lib/python3.8/site-packages/markupsafe/init.py) <traceback object at 0x11ae61780>

After a quick google search, I tried running

pip install markupsafe==2.0.1

which fixed the problem -- now check_marvin seems to run fine. I just wanted to let you know in case this is helpful for anyone else.

Best, Kate