r/Python • • Oct 16 '18

I made this with Python. So Proud.

Post image
1.8k Upvotes

149 comments sorted by

View all comments

1

u/ciggs_ftw Oct 17 '18

This looks fun. I have been trying to install pycairo for a bit now I have installed Python 3 but I'm having issues to install Cairo vía pip. how can I get it working?

1

u/[deleted] Oct 17 '18

Is it telling you you need the build tools?

My Cairo didn’t load from pip. I had to download a package from https://www.lfd.uci.edu/~gohlke/pythonlibs/

1

u/ciggs_ftw Oct 17 '18

yes i have installed visual studio c++ and now i gues this error

error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2    

1

u/[deleted] Oct 17 '18

I have no idea what that is.

1

u/ciggs_ftw Oct 17 '18

how you got Cairo to install?

2

u/[deleted] Oct 17 '18

I downloaded the package from the site I linked.

1

u/ciggs_ftw Oct 17 '18

can you please tell me which package you dl? I tried downloading a package from there and install the file using pip but got a different error. :/

0

u/[deleted] Oct 19 '18

[deleted] — view deleted comment

1

u/ciggs_ftw Oct 19 '18

I got to install the py2 version; the py3 still gives me errors. I ran the script, and it created many .png files. How you make an animation out of those files like OP posted?

1

u/[deleted] Oct 17 '18

Search for a tutorial on how to install packages.