微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

无法在 Julia 中使用包 plot GKS 错误

如何解决无法在 Julia 中使用包 plot GKS 错误

大家早上好。我在 Windows 10 机器上运行 Julia 1.6.1。

我无法使用 Plots 包中的函数 plot。每当我尝试使用它时,都会出现以下错误

connect: No error
GKS: can't connect to GKS socket application

GKS: Open Failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine FILLAREA
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine FILLAREA
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine polyLINE

你知道如何解决它吗?我尝试了其他线程中的一些建议,但没有给出任何好的结果。

提前致谢

解决方法

我在 Windows 10 上遇到了同样的问题。正如 Bill 之前提到的,防病毒软件会阻止 gksqt.exe。之后工作正常!

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。