sdss / marvin

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

Marvin install error - issue with markupsafe package #774

Closed ameliafm612 closed 2 years ago

ameliafm612 commented 2 years ago

Describe the bug Just tried to install Marvin on a 2020 MacBook Pro OSX 10.15.7. The .yml failed with an ipython error (that might be on my end), so I followed the instructions to create a clean, isolated, conda virtual environment from scratch. This worked fine, but on trying to import marvin.config in ipython, I got the error 'ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/opt/anaconda3/envs/marvin/lib/python3.8/site-packages/markupsafe/init.py)' Fixed this by downgrading markupsafe to version 2.0.1 and it works fine, but just wanted to make you all aware :)

To Reproduce conda create -n marvin python=3.8 ipython conda activate marvin pip install sdss-marvin After installation ipython from marvin import config

Expected behaviour Package should import

Screenshots See error message above

Desktop (please complete the following information):

Additional context N/A

havok2063 commented 2 years ago

This is fixed in 2.7.3.