繁体   English   中英

Python Plotly静态图像导出(Orca)获得html错误404

[英]Python Plotly static image export (Orca) getting html error 404

我正在运行https://plot.ly/python/static-image-export/中的Plotly离线静态图像导出示例。 不幸的是,我在无法解读的以下行中遇到以下错误。 其他所有步骤都成功,包括绘制渲染。 它是否延伸到外部地址?

pio.write_image(fig, format='png',file='images/fig1.png')

错误:

ValueError: 
The image request was rejected by the orca conversion utility
with the following error:
 404: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 
4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Not Found</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii">
</HEAD>
<BODY><h2>Not Found</h2>
<hr><p>HTTP Error 404. The requested resource is not found.</p>
</BODY></HTML>

您需要将NO_PROXY环境变量设置为localhost maty。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM