Giter Club home page Giter Club logo

pyecharts-snapshot's Introduction

pyecharts-snapshot

image

image

image

image

image

image

image

News - 16.04.2019

Since 0.2.0, NO LONGER, phantomjs is required! NO LONGER, it supports python 2.7

BUT, the capability to render pyecharts in a script has been merged into pyecharts 1.0.0. And the dependency on phantomjs has been sprawn as: snapshot-phantomjs .

If you love to use 'snapshot' command line, please continue to use this project.

Introduction

pyecharts-snapshot renders the output of pyecharts/echarts.js as a png, jpeg, gif, eps, svg image, raw base64 encoding or a pdf file at command line.

Usage

Get png:

$ snapshot render.html

And you will get:

image

Get pdf:

$ snapshot render.html pdf

And you will get:

image

And here the code to generate it

Get svg:

$ snapshot render.html svg

Please be aware that render.html should have configure echarts to do svg rendering. This library, being stupid, does not make canvas rendered image as svg rendered. Here is an example svg file.

Usage details

Command line options:

$ snapshot output.html [png|jpeg|gif|svg|pdf] [delay] [pixel ratio]

where:

delay tells pyecharts-snapshot to take a snapshot after some time measured in seconds. It is needed only when your snapshot is partial because the chart animation takes long than 1.5 second(default). pixel ratio tells pyecharts-snapshot to use a different pixel ratio when generate the image. It defaults to 2.

Programmatical usage is simple:

...
somechart.render(path='cool_snapshot.png')  # delay=1, pixel_ratio=3) 1 second delay, 3 as pixel ratio

where delay as an optional parameter can be given to specify delay_in_seconds.

Coffee

Please buy me a coffee if you think this library helped.

Installation

You can install pyecharts-snapshot via pip:

$ pip install pyecharts-snapshot

or clone it and install it:

$ git clone https://github.com/pyecharts/pyecharts-snapshot.git
$ cd pyecharts-snapshot
$ python setup.py install

And you need to do:

$ pyppeteer-install

Note

pyppeteer-install is recommended but optional. Your first ever run of snapshot command will invoke pyppeteer-install. This command will download Chrominium, about 100MB

Test status

Fully tested on 3.6, 3.7 and 3.8-dev.

Constraints

Only one image at a time. No 3D image support

Design Considerations

  1. Ghost.Py: very hard to install on my own. Dropped

Maintenance Instructions

  1. install pyecharts-snapshot
  2. make demo
  3. take screenshots of grid.pdf and snapshot.pdf in examples folder

pyecharts-snapshot's People

Contributors

chenjiandongx avatar chfw avatar leon332157 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyecharts-snapshot's Issues

html转为svg格式后,svg文件打开不是图片,是一段代码

问题

您好,我希望利用pyecharts生成svg格式,但转换后的svg文件无法显示图片,请问这个是因为没有加入渲染,还是什么问题嘛

Code

from pyecharts import options as opts
from pyecharts import render
from pyecharts.charts import Bar
from pyecharts.globals import RenderType
from pyecharts.render import make_snapshot

from snapshot_phantomjs import snapshot
//from snapshot_selenium import snapshot

def bar_chart() -> Bar:
c = (
Bar()
.add_xaxis(["衬衫", "毛衣", "领带", "裤子", "风衣", "高跟鞋", "袜子"])
.add_yaxis("商家A", [114, 55, 27, 101, 125, 27, 105])
.add_yaxis("商家B", [57, 134, 137, 129, 145, 60, 49])
.reversal_axis()
.set_series_opts(label_opts=opts.LabelOpts(position="right"))
.set_global_opts(title_opts=opts.TitleOpts(title="Bar-测试渲染图片"))
)
return c

make_snapshot(snapshot, bar_chart().render(), "bar0.svg")

bar_chart().render('bar0.html')
make_snapshot(snapshot, 'bar0.html', "bar0.svg")

命令行

通过命令行 snapshot bar0.html svg 方式获取,同样打开是如下格式

SVG打开后:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<canvas data-zr-dom-id="zr_0" width="900" height="500" style="position: absolute; left: 0px; top: 0px; width: 900px; height: 500px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"/>

生成gif时,报错

Generating file ...
Traceback (most recent call last):
  File "d:\anaconda3\envs\venv37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "d:\anaconda3\envs\venv37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "D:\Anaconda3\envs\venv37\Scripts\snapshot.exe\__main__.py", line 7, in <module>
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyecharts_snapshot\main.py", line 86, in main
    asyncio.get_event_loop().run_until_complete(_main())
  File "d:\anaconda3\envs\venv37\lib\asyncio\base_events.py", line 583, in run_until_complete
    return future.result()
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyecharts_snapshot\main.py", line 109, in _main
    file_name, output, delay=delay, pixel_ratio=pixel_ratio
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyecharts_snapshot\main.py", line 130, in make_a_snapshot
    file_name, file_type, pixel_ratio, delay
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyecharts_snapshot\main.py", line 169, in async_make_snapshot
    return await get_echarts(to_file_uri(html_path), snapshot_js)
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyecharts_snapshot\main.py", line 175, in get_echarts
    await page.goto(url)
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyppeteer\page.py", line 862, in goto
    raise error
pyppeteer.errors.TimeoutError: Navigation Timeout Exceeded: 30000 ms exceeded.

python3.6 Example programs报错

运行Example programs报错“IndexError: list index out of range”

`IndexError Traceback (most recent call last)
in ()
11 bar.add("商家B", attr, v2, is_stack=True)
12 bar.render()
---> 13 make_a_snapshot('render.html', 'snapshot.png')

D:\ProgramData\lib\site-packages\pyecharts_snapshot\main.py in make_a_snapshot(file_name, output_name)
53 else:
54 content = io.TextIOWrapper(proc.stdout, encoding="utf-8").read()
---> 55 base64_imagedata = content.split(',')[1]
56 imagedata = decode_base64(base64_imagedata.encode('utf-8'))
57 if file_type == 'pdf':

IndexError: list index out of range`

svg的图表生成后不能交互

我生成了一个动态图表,在以html为格式时可交互也可以动态,但是输出成gif或者svg就不能动态和交互,而且README中的svg示例已经挂了...

pyppeteer.errors.BrowserError: Browser closed unexpectedly:

When I run a html file using "snapshot render.html svg", what are the some errors ? How to resovle it?

Generating file ...
Traceback (most recent call last):
File "/usr/local/bin/snapshot", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/pyecharts_snapshot/main.py", line 86, in main
asyncio.get_event_loop().run_until_complete(_main())
File "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 583, in run_until_complete
return future.result()
File "/usr/local/lib/python3.7/site-packages/pyecharts_snapshot/main.py", line 109, in _main
file_name, output, delay=delay, pixel_ratio=pixel_ratio
File "/usr/local/lib/python3.7/site-packages/pyecharts_snapshot/main.py", line 130, in make_a_snapshot
file_name, file_type, pixel_ratio, delay
File "/usr/local/lib/python3.7/site-packages/pyecharts_snapshot/main.py", line 169, in async_make_snapshot
return await get_echarts(to_file_uri(html_path), snapshot_js)
File "/usr/local/lib/python3.7/site-packages/pyecharts_snapshot/main.py", line 173, in get_echarts
browser = await launch()
File "/usr/local/lib/python3.7/site-packages/pyppeteer/launcher.py", line 305, in launch
return await Launcher(options, **kwargs).launch()
File "/usr/local/lib/python3.7/site-packages/pyppeteer/launcher.py", line 166, in launch
self.browserWSEndpoint = get_ws_endpoint(self.url)
File "/usr/local/lib/python3.7/site-packages/pyppeteer/launcher.py", line 225, in get_ws_endpoint
raise BrowserError('Browser closed unexpectedly:\n')
pyppeteer.errors.BrowserError: Browser closed unexpectedly:

OSError: ["ReferenceError: Can't find variable: echarts\n\n undefined:1\nnull\n"]

测试代码

from pyecharts import options as opts
from pyecharts.charts import Bar
from pyecharts.render import make_snapshot

from snapshot_phantomjs import snapshot

def bar_chart() -> Bar:
    c = (
        Bar()
        .add_xaxis(["衬衫", "毛衣", "领带", "裤子", "风衣", "高跟鞋", "袜子"])
        .add_yaxis("商家A", [114, 55, 27, 101, 125, 27, 105])
        .add_yaxis("商家B", [57, 134, 137, 129, 145, 60, 49])
        .reversal_axis()
        .set_series_opts(label_opts=opts.LabelOpts(position="right"))
        .set_global_opts(title_opts=opts.TitleOpts(title="Bar-测试渲染图片"))
    )
    return c

make_snapshot(snapshot, bar_chart().render(), "bar0.png")

错误栈


OSError Traceback (most recent call last)
in ()
17 return c
18
---> 19 make_snapshot(snapshot, bar_chart().render(), "bar0.png")

~\Program File\Anaconda3\lib\site-packages\pyecharts\render\snapshot.py in make_snapshot(engine, file_name, output_name, delay, pixel_ratio, is_remove_html, **kwargs)
37 content_array = content.split(",")
38 if len(content_array) != 2:
---> 39 raise OSError(content_array)
40
41 image_data = decode_base64(content_array[1])

OSError: ["ReferenceError: Can't find variable: echarts\n\n undefined:1\nnull\n"]

版本信息

Python 3.6
pyecharts == 1.5.1
pyecharts-javascripthon==0.0.6
pyecharts-jupyter-installer==0.0.3
pyecharts-snapshot==0.1.7

no snapshot saved on Windows

C:\python3\python "1.py" (在目录 C:\Users\85422\Desktop 中)
phantomjs version: 2.1.1
Generating file ...
Traceback (most recent call last):
File "1.py", line 11, in
bar.render(path='snapshot.png')
File "C:\python3\lib\site-packages\pyecharts\base.py", line 132, in render
**kwargs
File "C:\python3\lib\site-packages\pyecharts_snapshot\environment.py", line 35, in render_chart_to_file
make_a_snapshot(tmp_file_path, path, delay=delay, verbose=verbose)
File "C:\python3\lib\site-packages\pyecharts_snapshot\main.py", line 100, in make_a_snapshot
raise OSError(content_array)
OSError: ["ReferenceError: Can't find variable: echarts\n\n undefined:1\nnull\n"]
编译失败。

默认白色背景,保存成jpeg图片的时候,背景色变成黑色

描述:
pyecharts将图片保存成jpeg的时候,背景色变成黑色。
保存成png则没有问题,但是图片没有压缩,9M太大了。

版本:
pyecharts 0.5.11
pyecharts-snapshot 0.1.10

图片:
jp_5y_cci long-short histogram

代码:
bar_image = pyecharts.Bar(”title‘’, width=1200, height=700)
bar_image.add(‘long’, long_interval_array,
long_frequency_array)
bar_image.add('short', short_interval_array,
short_frequency_array)

bar_image.render(path='test.jpeg')

About the parameter delay

In my python, it seems that the delay wouldn't work. No matter what kinds of number I type in, it just wouldn't work. And the pic it generates is damaged. I can't open it. But the html file is ok. Weird.

Covid-19(1).zip

Windows html and snapshot filename path problems

Windows 7 with Python 2.7, with the latest pyecharts and pyecharts-snapshot from github.

  1. Using forward slash in path or any path generated with os.path module won't work. Change it to back slash works.
  2. Chinses name in the full absolute file path won't work.
radar.render("pics\\index.html")
make_a_snapshot("pics\\index.html", "pics\\echarts_radar3.png")

Result:

\lib\site-packages\pyecharts_snapshot\main.py", line 64, in make_a_snapshot
    base64_imagedata = content.split(',')[1]
IndexError: list index out of range

gif do not work

when I run snapshot test.html gif in command line , It gives me a static picture, not a gif, How can I got a dynamic gif file?

Scatter3D 生成png和pdf失败

你好,

输入数据为data_scatter:
[('TRBV10-3', 'TRBD1', 'TRBJ1-1', 1, 1), ('TRBV10-3', 'TRBD1', 'TRBJ1-5', 1, 9), ('TRBV10-3', 'TRBD1', 'TRBJ2-7', 1, 2), ('TRBV11-2', 'TRBD1', 'TRBJ1-3', 1, 5), ('TRBV11-2', 'TRBD1', 'TRBJ1-4', 1, 6), ('TRBV12-3', 'TRBD1', 'TRBJ2-1', 1, 7), ('TRBV12-4', 'TRBD2', 'TRBJ2-1', 1, 3), ('TRBV13', 'TRBD1', 'TRBJ2-3', 3, 45), ('TRBV15', 'TRBD1', 'TRBJ1-4', 2, 4), ('TRBV18', 'TRBD1', 'TRBJ1-5', 1, 12), ('TRBV18', 'TRBD1', 'TRBJ2-4', 1, 6), ('TRBV2', 'TRBD1', 'TRBJ1-4', 1, 3), ('TRBV2', 'TRBD1', 'TRBJ2-5', 1, 5), ('TRBV20-1', 'TRBD1', 'TRBJ1-4', 1, 10), ('TRBV20-1', 'TRBD1', 'TRBJ2-2', 1, 5), ('TRBV20-1', 'TRBD1', 'TRBJ2-3', 1, 11), ('TRBV25-1', 'TRBD1', 'TRBJ1-2', 1, 3), ('TRBV29-1', 'TRBD1', 'TRBJ2-5', 3, 21), ('TRBV5-1', 'TRBD1', 'TRBJ1-2', 1, 10), ('TRBV5-1', 'TRBD1', 'TRBJ2-1', 1, 4), ('TRBV5-1', 'TRBD1', 'TRBJ2-4', 1, 7), ('TRBV5-4', 'TRBD1', 'TRBJ1-4', 1, 3), ('TRBV5-4', 'TRBD1', 'TRBJ2-7', 1, 12), ('TRBV5-5', 'TRBD1', 'TRBJ2-1', 1, 7), ('TRBV5-6', 'TRBD2', 'TRBJ2-1', 1, 2), ('TRBV6-1', 'TRBD2', 'TRBJ2-7', 1, 5), ('TRBV6-5', 'TRBD1', 'TRBJ1-1', 1, 1), ('TRBV6-5', 'TRBD1', 'TRBJ1-3', 1, 9), ('TRBV6-5', 'TRBD1', 'TRBJ2-2', 1, 16), ('TRBV6-5', 'TRBD1', 'TRBJ2-7', 1, 7), ('TRBV6-6', 'TRBD1','TRBJ1-5', 1, 3), ('TRBV6-6', 'TRBD1', 'TRBJ1-6', 1, 8), ('TRBV6-6', 'TRBD2', 'TRBJ2-7', 1, 5), ('TRBV6-9', 'TRBD1', 'TRBJ1-4', 1, 5), ('TRBV7-2', 'TRBD1', 'TRBJ1-2', 1, 7), ('TRBV7-2', 'TRBD1', 'TRBJ2-5', 1, 5), ('TRBV7-8', 'TRBD1', 'TRBJ1-2', 1, 2), ('TRBV7-8', 'TRBD1', 'TRBJ2-1', 1, 6), ('TRBV7-8', 'TRBD1', 'TRBJ2-6', 1, 13), ('TRBV9', 'TRBD2', 'TRBJ2-1', 2, 8)]

画图代码为:
file_path="{}/".format(os.path.dirname(os.path.abspath("./echarts.min.js")))
def scatter3d() -> Scatter3D:
c = (
Scatter3D(init_opts = opts.InitOpts(width='900px',height='700px', js_host=file_path))
.add("",
data_scatter,
xaxis3d_opts=opts.Axis3DOpts(
name="v-gene",
type_="category",
),
yaxis3d_opts=opts.Axis3DOpts(
name="d-gene",
type_="category",
),
zaxis3d_opts=opts.Axis3DOpts(
name="j-gene",
type_="category",
),
grid3d_opts = opts.Grid3DOpts(width=100, depth=90, rotate_speed = 90, is_rotate=False)
)
.set_global_opts(title_opts=opts.TitleOpts(title="Scatter3D of VDJ-pairs"),
visualmap_opts=[
opts.VisualMapOpts(type_="color", dimension=4, pos_top="40", max_= max(data_filter['umis'].tolist())),
opts.VisualMapOpts(type_="size", dimension=3, pos_bottom="40", max_= max(data_filter['barcodes'].tolist()), range_size=[1, max(data_filter['barcodes'].tolist())*5],
),
]
)
)
return c

scatter3d_png = os.path.join(od_path, "Scatter3D_vdj_pairs.png")
make_snapshot(snapshot, scatter3d().render(), scatter3d_png)
生成的PNG是空的。

我把echarts.min.js下载到linux,Sankey图按照这个模式是可以生成PNG 和PDF的,但是Scatter3D不知道为什么不行

盼复

同一个ipynb中,前面的cell利用make_a_snapshot能成功截图,后面开始报错

我的一个ipynb中,多次利用了make_a_snapshot,前面的十几个图片可以截图成功,到13张图片的时候,就开始报错No phantomjs found in your PATH. Please install it!

An exception has occurred, use %tb to see the full traceback.

SystemExit: 1

我的phantomjs已经安装好了,前面的截图也已经成功了,不知道为什么中途就出问题了

无法生成png图片

在issue 23看到跟我同样报错的信息,看到作者提交了commit和终止了问题后
我把作者的回复操作试了一遍
但是发现还是没有成功解决我的 问题
这是我的错误信息
phantomjs version: 2.1.1

Generating file ...
Traceback (most recent call last):
File "E:\学习作业\毕业设计\爬虫\数据分析\output_jinjiang.py", line 10, in
bar.render(path='snapshot.png', pixel_ratio=3)
File "D:\Program Files\python\lib\site-packages\pyecharts\base.py", line 146, in render
**kwargs
File "D:\Program Files\python\lib\site-packages\pyecharts_snapshot\environment.py", line 35, in render_chart_to_file
make_a_snapshot(tmp_file_path, path, delay=delay, verbose=verbose)
File "D:\Program Files\python\lib\site-packages\pyecharts_snapshot\main.py", line 99, in make_a_snapshot
raise OSError(content_array)
OSError: ["ReferenceError: Can't find variable: echarts\n\n undefined:1\nnull\n"]
[Finished in 6.0s]

使用的是有我自己的代码和作者的案例代码,还有尝试了作者说的引擎方式,但都是同样的错误
无论是这个案例
r 5pdsi l_saecr_ wl7t s
还是这个案例
`from pyecharts import Bar, Line
from pyecharts.engine import create_default_environment

bar = Bar("我的第一个图表", "这里是副标题")
bar.add("服装", ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"], [5, 20, 36, 10, 75, 90])

line = Line("我的第一个图表", "这里是副标题")
line.add("服装", ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"], [5, 20, 36, 10, 75, 90])

env = create_default_environment("html")

为渲染创建一个默认配置环境

create_default_environment(filet_ype)

file_type: 'html', 'svg', 'png', 'jpeg', 'gif' or 'pdf'

env.render_chart_to_file(bar, path='bar.html')
env.render_chart_to_file(line, path='line.html')`
都是报了同一个错误
我的尝试结果是,如果不用引擎的方式,我可以生成html文件,但是png文件始终无法生成

我的python版本是3.6
使用的是sublime text编辑器
版本信息有
pyecharts==0.5.11
pyecharts-javascripthon==0.0.6
pyecharts-jupyter-installer==0.0.3
pyecharts-snapshot==0.1.7
PyInstaller==3.3.1

以上是我的问题详细内容,跪求作者翻牌,谢谢大佬

win10 下面官方栗子会报错

'phantomjs' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
Traceback (most recent call last):
File "H:/project/python/web/xmshop/test/2.py", line 13, in
make_a_snapshot('render2.html', 'snapshot.png')
File "D:\Program Files (x86)\python\pythonenv\lib\site-packages\pyecharts_snapshot\main.py", line 60, in make_a_snapshot
base64_imagedata = content.split(',')[1]
IndexError: list index out of range

no legend in the png

hello,every friends, I have a problem now, who can help me? thanks very much~
when I create a html file the legend is intact, but when I use the snapshot to create a png/gif, the title、the lables and the legend are all disappear.
ps: the operating system is Red Hat 4.4.7-16; node version is v10.4.0; phantomjs version is 2.1.1.

在不连网的情况下,在win10系统下,无法将html图片保存为本地图片,怎么正确添加js_host可以正常运行

from pyecharts import options as opts
from pyecharts.charts import Gauge
from pyecharts.render import make_snapshot
from snapshot_phantomjs import snapshot
import os

def bar_chart():
c = (
Gauge(init_opts=opts.InitOpts(bg_color="white"))
.add(
"",
[("AA", 40.4)], title_label_opts=opts.LabelOpts(
font_size=22, font_weight='700', color="#00BEE6", font_family="Microsoft YaHei"),
split_number=10,
axisline_opts=opts.AxisLineOpts(
linestyle_opts=opts.LineStyleOpts(
color=[[0.2, "#67e0e3"], [0.8, "#37a2da"], [1, "#fd666d"]], width=30
)
),
detail_label_opts=opts.LabelOpts(formatter="{value}%"),
)
.set_global_opts(
title_opts=opts.TitleOpts(),
legend_opts=opts.LegendOpts(is_show=False),
)
)
make_snapshot(snapshot, c.render(), "TEST.png",is_remove_html=False)

if name == 'main':
bar_chart()
在不连网的情况下,在win10系统下上述代码会报错
_### _File "C:\software\anaconda\lib\site-packages\pyecharts\render\snapshot.py", line 45, in make_snapshot
raise OSError(content_array)

OSError: ["ReferenceError: Can't find variable: echarts\n\n file:///H:/Python/python/render.html:12 in global code\nReferenceError: Can't find variable: echarts\n\n undefined:1\nnull\n"]__

怎么正确在Gauge(init_opts=opts.InitOpts(bg_color="white"))中opts_InitOpts添加js_host使得代码能运行?

OSError: [Errno 2] No such file or directory

zxjd@zxjd-OptiPlex-7040:~$ snapshot render.html
Traceback (most recent call last):
File "/usr/local/bin/snapshot", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/pyecharts_snapshot/main.py", line 35, in main
make_a_snapshot(file_name, output, delay=delay)
File "/usr/local/lib/python2.7/dist-packages/pyecharts_snapshot/main.py", line 54, in make_a_snapshot
proc_params, stdout=subprocess.PIPE, shell=shell_flag)
File "/usr/lib/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.