TypeError: can only concatenate str (not "list") to str on Windows
Created by: SeanDS
A Windows user in my group installed gwpy using conda install -c conda-forge gwpy
(using Python 3, and the latest version of gwpy available on conda-forge as of this post). When they try to import it within a Python terminal though, they get this error:
>>> import gwpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\juvwra\Anaconda3\lib\site-packages\gwpy\__init__.py", line 35, in <module>
from . import (
File "C:\Users\juvwra\Anaconda3\lib\site-packages\gwpy\plot\__init__.py", line 29, in <module>
from . import (
File "C:\Users\juvwra\Anaconda3\lib\site-packages\gwpy\plot\rc.py", line 79, in <module>
rcParams.get('text.latex.preamble', []) + tex.MACROS),
TypeError: can only concatenate str (not "list") to str