Spyder accept Chinese input with wsl

1 、sudo apt install fonts-wqy-zenhei libxcursor-dev alsa libegl1-mesa libegl1

2 、conda install -c conda-forge fcitx-qt5

3、vim ~/.bashc

export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0

export LIBGL_ALWAYS_INDIRECT=1

4、spyder Tools->Preferences-> Appearance -> Fonts Rich text WenQuanYi Zen Hei

评论

此博客中的热门博文

V2ray websocket(ws)+tls+nginx分流

Rstudio 使用代理