Compiling for Linux

Posted on
  • I've been trying for a while now to compile Espruino for Linux. While it worked acouple of months ago I now keep getting an error:
    `$ make

    Generating pin info

    Exception ignored in:
    AttributeError: 'Discarder' object has no attribute 'flush'

    make: *** [Makefile:2093:

    /home/steffen/workspace/espruino_src/EspĀ­ruino/gen/jspininfo.h] Error 120
    `
    Am I missing something?

  • ... yes, I did. I used the wrong Python version :(
    (Wished I could remove this conversation.)

  • Glad you got it sorted!

    Posts like this are good though - someone else might have the same error, Google it, and find how you fixed it :)

  • (Wished I could remove this conversation.)

    Very helpful to others that it cannot be deleted... Python with its version mess... no surprise.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Compiling for Linux

Posted by Avatar for Steffen @Steffen

Actions