robertmartin8 / pygameoflife Goto Github PK
View Code? Open in Web Editor NEWConway's Game of Life using python's matplotlib and numpy
License: MIT License
Conway's Game of Life using python's matplotlib and numpy
License: MIT License
When I try to run PyGameofLife with python life.py
, I get this error message:
C:\Path\To\File\Ommited\For\Privacy\PyGameofLife>python life.py
MovieWriter imagemagick unavailable. Trying to use ffmpeg instead.
Traceback (most recent call last):
File "C:\Python37\lib\site-packages\matplotlib\animation.py", line 376, in grab_frame
dpi=self.dpi, **savefig_kwargs)
File "C:\Python37\lib\site-packages\matplotlib\figure.py", line 2094, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\Python37\lib\site-packages\matplotlib\backend_bases.py", line 2075, in print_figure
**kwargs)
File "C:\Python37\lib\site-packages\matplotlib\backends\backend_agg.py", line 465, in print_raw
fh.write(renderer._renderer.buffer_rgba())
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "life.py", line 176, in <module>
save=True,
File "life.py", line 126, in animate_life
im_ani.save((str(seed) + ".gif"), writer="imagemagick")
File "C:\Python37\lib\site-packages\matplotlib\animation.py", line 1174, in save
writer.grab_frame(**savefig_kwargs)
File "C:\Python37\lib\site-packages\matplotlib\animation.py", line 383, in grab_frame
'DEBUG.'.format(e, out, err))
OSError: Error saving animation to file (cause: [Errno 32] Broken pipe) Stdout: b'' StdError: b''. It may help to re-run with logging level set to DEBUG.
I'm running on a Windows 10, on Python 3.7.2, with Numpy 1.15.4 and Matplotlib 3.0.2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.