omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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

    Pythonista
    2
    3
    1697
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • virexcr
      virexcr last edited by

      Hi I’m trying to install CoolProp into Pythonista and I’m having a lot of trouble. I’m using StaSh 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 the pip 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.

      mikael 1 Reply Last reply Reply Quote 0
      • mikael
        mikael @virexcr last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • virexcr
          virexcr last edited by

          I see thank you @mikael.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors