lancaster-university / microbit-dal

http://lancaster-university.github.io/microbit-docs
Other
256 stars 130 forks source link

Is offline c/c++ development dead? #484

Open stalexwang opened 2 years ago

stalexwang commented 2 years ago

I cloned microbit-examples repo, execute 'yt build', then I got the error message: error: Can't pickle <function Pack.runScript at 0x10ef25e50>: it's not the same object as yotta.lib.pack.Pack.runScript

The official yotta project on GitHub is marked as deprecated. So, does anyone have any idea about the future of microbit-dal?

It's sad the mbed 2.0 version used in DAL was already obsolete even before micro:bit was shipped. And now yotta is gone.

martinwork commented 2 years ago

Could that error be related to your local setup? Is that a Python error? I see there was a recent update to microbit-samples: https://github.com/lancaster-university/microbit-samples/commit/a97ba70394cef088000576a9a6ffd00439e63fff Maybe it's necessary to grab the latest microbit-samples, or make the same change locally?

stalexwang commented 2 years ago

Thanks, apparently some fellow developers also ran into this issue.

Found a workaround here: https://github.com/ARMmbed/yotta/issues/863#issuecomment-751429804

carlosperate commented 2 years ago

I think I had the same issue a while ago, but only with Python 3.8+, so I installed yotta with Python3.6 and that worked.

Alternatively if you are familiar with Docker you could use this container image that has all the tooling setup: https://github.com/carlosperate/docker-microbit-toolchain