kivy - Python-for-Android: Error compiling Cython file -
kivy - Python-for-Android: Error compiling Cython file -
after git cloning python-for-android tried creating distribution:
./distribute.sh -m "kivy" and got few errors of kind:
error compiling cython file: ------------------------------------------------------------ ... vertex_format.last_shader = self in xrange(vertex_format.vattr_count): attr = &vertex_format.vattr[i] if attr.per_vertex == 0: go on attr.index = glgetattriblocation(self.program, <char *><bytes>attr.name) ^ ------------------------------------------------------------ kivy/graphics/shader.pyx:448:63: casting temporary python object non-numeric non-python type found this answer, did not solve problem:
sudo apt-get remove --purge cython sudo pip install cython do need specific cython version?
thanks!
update
thanks @ryanp tried running:
cython -v cython shader.pyx well, cython version seems ok:
cython version 0.21 but still, shader.pyx won't compile same error.
another update
i did both:
used @inclement advice , removed bothbuild , dist . used export p4a_kivy_dir=/path/to/cloned/kivy/ and dist/default created.
i don't believe build cython 0.21 cython 0.20 seek install kivy cython 0.20
pip install cython==0.20
here thread describing issue
https://mail.python.org/pipermail/cython-devel/2014-october/004210.html
cython kivy
Comments
Post a Comment