Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
CoolProp and Cython install issues in Pythonista
-
Hi I’m trying to install
CoolProp
into Pythonista and I’m having a lot of trouble. I’m usingStaSh
to download and install the modules but I’m getting several errors. I first tried CoolProp and it requires a wrapper since it was originally develop in C. It uses Cython as a wrapper, I then tried to first install Cython, but it is not installing properly using thepip
command so I’m trying to install it manually. When running the setup.py module I get this error : Unable to find pgen, not compiling formal grammar.
I have to say that I’m a newbie, I’m coming back to coding after 15 years and I’m trying to learn Python with Pythonista for engineering applications, so I’m not a formal programmer.
Any help or advice would be greatly appreciated. -
@virexcr, unfortunately you will not be able to install compiled C code in the Pythonista sandbox on iOS, due to Apple restrictions. Cython naturally needs to compile C, and probably also needs some new C components to work.
-
I see thank you @mikael.