python - Unable to open XServer ()
本文介绍了python - Unable to open XServer ()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
比如 import
在本地和本地虚拟机 没这个问题
在阿里云等服务器上 就会出现
百度了一下 原来是没显式图形??
可export DISPLAY=:0.0 还是不行
import import: Unable to open XServer (:0.0) [Network is unreachable].
然后又是Network is unreachable?
怎么那么狗血~~
解决方案
直接用Xmanager Enterprise 5的Xshell
这篇关于python - Unable to open XServer ()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文