flupke / pypotrace

Python bindings for potrace library
Other
166 stars 43 forks source link

module 'potrace' has no attribute 'Bitmap' #26

Closed hopeliu20160622 closed 3 years ago

hopeliu20160622 commented 4 years ago

Installation Ubuntu Install system dependencies: sudo apt-get install build-essential python-dev libagg-dev libpotrace-dev pkg-config $ git clone https://github.com/flupke/pypotrace.git $ cd pypotrace $ pip install numpy $ pip install . then I get the error : module 'potrace' has no attribute 'Bitmap' code is :bmp = potrace.Bitmap(data)