Skip to content

fix the "can't convert pgf.preamble to stri" bug when i import sciai#2

Open
Zdmai wants to merge 1 commit intomindspore-ai:masterfrom
Zdmai:importbug_plotutils_fix
Open

fix the "can't convert pgf.preamble to stri" bug when i import sciai#2
Zdmai wants to merge 1 commit intomindspore-ai:masterfrom
Zdmai:importbug_plotutils_fix

Conversation

@Zdmai
Copy link

@Zdmai Zdmai commented May 9, 2024

Signed-off-by: Zdmai jhzhou.ai@gmail.com

I build sciai from src, but there is a bug when I import sciai

bug is "ValueError: Key pgf.preamble: Could not convert ['\usepackage[utf8x]{inputenc}', '\usepackage[T1]{fontenc}'] to str" in the sciai/utils/plot_utils.py file

MacOS's container
OS: Debian GNU/Linux 12 (bookworm) aarch64
Kernel: 6.6.26-linuxkit
aarch64
python 3.8.19

Signed-off-by: Zdmai <jhzhou.ai@gmail.com>

I build sciai from src, but there is a bug when I import sciai

bug is "ValueError: Key pgf.preamble: Could not convert
['\\usepackage[utf8x]{inputenc}', '\\usepackage[T1]{fontenc}'] to str"
in the sciai/utils/plot_utils.py file
@CLAassistant
Copy link

CLAassistant commented May 9, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants