Well, I just changed all the calls from PythonLibrary to MuPythonLibraray and it compiled.
I did also have to run
python -m pip install --upgrade mu_build
but I got it to compile.
Feel free to tell me why that was a bad thing to do, or why I had to even do that in the first place.
Compiling Windows IOT Core missing PythonLibrary
I'm able to get the flash.bin to compile, but I'm running into an issue with the uefi.fit.
I keep running into errors with the compiler looking for PythonLibrary
File "/home/will/.local/lib/python3.8/site-packages/MuEnvironment/UefiBuild.py", line 44, in <module>
from PythonLibrary.Uefi.EdkII.Parsers.TargetTxtParser import *
ModuleNotFoundError: No module named 'PythonLibrary'
In my libraries, I have MuPythonLibrary but not PythonLibrary. Are they the same thing, if not I can't find a way to install just PythonLibrary? Any insight on this guys?
2 answers
Sort by: Most helpful
-
William Dunkley 21 Reputation points
2020-09-29T18:20:27.283+00:00 -
Sean Liming 4,596 Reputation points
2020-10-04T16:48:00.323+00:00 I am using Ubuntu in WSL for NXP's Windows IoT firmware and BSP. The instructions are a little dated as python-wand doesn't exist. I had to run the following to complete the setup before building firmware the image was successful:
pip3 install wand
pip3 install mu-environment