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)
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)