Building problems python, provision.sh, etc

Posted on
  • Tried to follow https://github.com/espruino/Espruino/blob/master/README_Building.md to build bangle js 2. Used a 24 Ubuntu default installation but got some problems. Hope you can help me.

    Provision.sh didn't work so I used the manual way, but I had to change the commands and finally got all requirements installed. But it seems that python 3 is not working because I get the rangex range error. So tried to install Python2.

    For smaller things I used the github actions. But now I want to integrate some more complex c code and want to do compile locally. The github action uses ubuntu 20. So maybe that's the trick?

    What's the easisest and fastest way to get a local build environment running. Thank you so much!

  • 22.04 works too, 24.04 uses python 3.12 which does not work with nordic nrfutil, python 3.11 would work

    I am using 22.04 but maybe virtualenv could help on 24.04?

    or maybe it is 3.11? I don't have 24.04 installation here right now, just checked and 22.04 has python 3.10

  • Thank you so much. Then I will just use an older ubuntu and will be happy.

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

Building problems python, provision.sh, etc

Posted by Avatar for Chriz @Chriz

Actions