I've tried to compile firmware for MDBT42Q.
Installation of nrfutil, copied from provision.sh, fails.
sudo pip install --ignore-installed nrfutil
Collecting pc_ble_driver_py>=0.14.2 (from nrfutil)
Could not find a version that satisfies the requirement pc_ble_driver_py>=0.14.2 (from nrfutil) (from versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.11.4)
No matching distribution found for pc_ble_driver_py>=0.14.2 (from nrfutil)
That's an odd one. Only thing I can think is maybe it's trying to install it for Python 2.7, not Python 3?
hmm, good point, I ran into several problems with python-version-hell in the past
Hmm, I'm running python 3.6.9, and pip 9.0.1, will try with other versions
That's odd - it should be ok. Always worth trying to update pip itself? Maybe even running pip3.6 would do it?
After doing some searching in the web, BTW I'm working with ubuntu 18.04.4 LTS
Actual nrfutil version is 6, but with that I get errors around installing pc-ble-driver
Figured out, that nrfutil V 5.22 can be installed.
Actual installation according to pip list is
I've got an error and somewhere I found to do this
But now I'm running into problems inside py-sources.
Sometimes life is not as friendly as it could be ;-(
Sorry, that's very frustrating. Not quite sure what to suggest....
What command did you use to force installation of nrfutil 5.2.0 though? I'm happy to add that to provision.sh instead?
I used pip install nrfutil==5.2.0
See https://pypi.org/project/nrfutil/#history for more
But as long as I don't get it running, I would not suggest to change provision.sh
got it running at the end (HIP HIP HURRAY)
IMHO at the end its all about PYTHON version hell. No idea, why python3.6 did not accept nrfutil 6.1.0. Testing with TensorFlow and Opencv might have been the root of problems
I'm pretty sure people with more knowhow around python could explain. People like me, that want to compile Espruino only, have to walk through dessert to find some water_
This is my way to find water:
Thanks for the update! I bet that'll help a bunch of people.
Yes, I have no idea why Python devs seem intent on introducing breaking changes between versions of Python :(
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem