LIBOL / SOL

Library for Scalable Online Learning
http://sol.stevenhoi.org
Other
97 stars 38 forks source link

Fixing: C class 'SOL' is declared but not defined #10

Open tonetto opened 6 years ago

tonetto commented 6 years ago

After a clean python2.7 install (anaconda), python setup.py build was returning this error. The solution was to simply move the attribute declarations from the .pyx file into the .pxd.

Reference: https://stackoverflow.com/questions/17735051/share-extension-types-in-cython-for-static-typing?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

tonetto commented 6 years ago

This fixes issue #9 .