bnmc_
Posts: 15
Joined: Sat Dec 23, 2017 3:36 pm

Cannot install Cython

Tue Jan 16, 2018 1:34 pm

Hey guys,

I have tried to install Cython using pip only to get the message:

Code: Select all

Unable to find pgen, not compiling formal grammar.
Then the terminal freezes. What is causing this problem? I am using Raspbian Jessie.

User avatar
elParaguayo
Posts: 1943
Joined: Wed May 16, 2012 12:46 pm
Location: London, UK

Re: Cannot install Cython

Tue Jan 16, 2018 3:00 pm

I built cython when installing kivy (I followed these instructions). I saw that message too (I think it's just a warning rather than an error) but, eventually, it did finish building.

When you say the terminal freezes, how long have you waited?
RPi Information Screen: plugin based system for displaying weather, travel information, football scores etc.

hippy
Posts: 6293
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Cannot install Cython

Tue Jan 16, 2018 3:54 pm

I recall that when I installed Cython I simply used apt-get rather than pip -

sudo apt-get install cython

I vaguely recall having tried pip but that was taking forever so I aborted that and used apt-get which took mere seconds to complete.

Return to “Python”