martinmcbride / generativepy Goto Github PK
View Code? Open in Web Editor NEWLibrary for creating generative art and maths animations
Home Page: http://www.generativepy.com
License: MIT License
Library for creating generative art and maths animations
Home Page: http://www.generativepy.com
License: MIT License
Package dependencies are missing in setup.cfg
, meaning that pycairo
and numpy
have to be manually installed.
You can see the effects when running an example script after the initial installation:
(.env)
Lewis@DESKTOP-IAO55HG MINGW64 ~/Documents/GitHub/generativepy (fix/add-initial-dependencies)
$ python examples/geometry/circles.py
Traceback (most recent call last):
File "S:\Users\Lewis\Documents\GitHub\generativepy\examples\geometry\circles.py", line 1, in <module>
from generativepy.drawing import make_image, setup
File "<frozen zipimport>", line 259, in load_module
File "S:\Users\Lewis\Documents\GitHub\generativepy\.env\lib\site-packages\generativepy-2.5-py3.9.egg\generativepy\drawing.py", line 6, in <module>
ModuleNotFoundError: No module named 'cairo'
(.env)
Lewis@DESKTOP-IAO55HG MINGW64 ~/Documents/GitHub/generativepy (fix/add-initial-dependencies)
$ python examples/geometry/circles.py
Traceback (most recent call last):
File "S:\Users\Lewis\Documents\GitHub\generativepy\examples\geometry\circles.py", line 1, in <module>
from generativepy.drawing import make_image, setup
File "<frozen zipimport>", line 259, in load_module
File "S:\Users\Lewis\Documents\GitHub\generativepy\.env\lib\site-packages\generativepy-2.5-py3.9.egg\generativepy\drawing.py", line 8, in <module>
ModuleNotFoundError: No module named 'numpy'
Hello,
I am trying to run the very first tutorial file:
generativepy / tutorial/ getting-started / rectangle.py
which seems like the same code located at:
https://www.pythoninformer.com/generative-art/generativepy-tutorial/simple-image/
and it creates the following error message:
python GenerativeExample1.py
Traceback (most recent call last):
File "C:\Users\henry\Documents\Python\GenerativeExample1.py", line 3, in
from generativepy.geometry import Rectangle
File "C:\Program Files\Python39\lib\site-packages\generativepy\geometry.py", line 7, in
from easy_vector import Vector
ModuleNotFoundError: No module named 'easy_vector'
for reference, here is the folder in site-packages:
Directory of C:\Program Files\Python39\Lib\site-packages\generativepy
06/19/2022 03:02 PM
.Thanks for your help
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.