-
Notifications
You must be signed in to change notification settings - Fork 63
Building error #863
Comments
how can I reproduce this (step by step) ? This looks like multiprocessing error in yotta. |
Steps to reproduce: I'm using pyenv with pyenv-virtualenv to create a clean python environment. Also I'm using a Mac / OS HIgh Sierra
Install yotta
Compile microbit-samples
|
I'm also seeing the same issue on macOS with Python 3.8.2 and 3.8.3. Following the steps indicated by @nandub:
Seems to be working on Ubuntu 16.04 and Windows 10 with Python 3.8. On macOS it works fine with Python 3.6.8. |
@carlosperate awesome, thanks for testing and confirming the error. I'm able to install and use python 3.6.8. There must be something wrong with newer version of python, not very familiar with python's internal to try to figure this error out. If someone else knows how to debug the error, please go ahead and try to figure out. |
The default pickle protocol changed between python 3.6 and 3.8, so maybe something to do with that? If you temporarily remove the You could try changing the runScript method to make it use a new module-level function which uses the From Python 3.9 there is support to specify the user and group to subprocess.Popen directly, so could just change the subprocess call to use that in the future, instead of the whacky dropRootPrivs decorator. |
@autopulated thanks for the feedback. If I removed
If I do the same to build and removed |
@nandub Thanks for testing, would you be able to send a pull request fixing it? I assume the solution that would work not just with python 3.9. |
@0xc0170 python is not my forte, I'd rather let someone else with more expertise on this area to come up with a pull request with the fixes. |
Same error MacOs 11.1
Install as described in http://docs.yottabuild.org/#installing
EDIT: After I am commented all |
After installing yotta, I'm trying to build microbit-samples to make sure everything is setup right, but after running
yt build
I get the following error:Python version: 3.8.3 on a virtualenv
The text was updated successfully, but these errors were encountered: