Closed symeonmattes closed 3 years ago
I have managed to do the following:
sudo pip install -U -r requirements.txt
This installed the missing modules idna, cryptography, but not six. Then from requirments.txt I saw that "six==1.12.0" So I run
sudo pip install 'six==1.12.0' --ignore-installed
The ignore-installed was necessary otherwise I couldn't install it. Now what I receive with
mbed compile -m EP_AGORA -t GCC_ARM --flash
[mbed] Working path "/home/symeon/Mbed Programs/EmbeddedPlannet/mbed-os-example-blinky/mbed-os" (library)
[mbed] Program path "/home/symeon/Mbed Programs/EmbeddedPlannet/mbed-os-example-blinky"
Could not find executable for GCC_ARM.
Currently set search path: No path set
[mbed] ERROR: "/usr/bin/python3" returned error.
Code: 2
Path: "/home/symeon/Mbed Programs/EmbeddedPlannet/mbed-os-example-blinky/mbed-os"
Command: "/usr/bin/python3 -u /home/symeon/Mbed Programs/EmbeddedPlannet/mbed-os-example-blinky/mbed-os/tools/make.py -t GCC_ARM -m EP_AGORA --source .. --build ../BUILD/EP_AGORA/GCC_ARM"
Tip: You could retry the last command with "-v" flag for verbose output
Ok...finally I've managed to make it work:
I downloaded the gcc compiler and I configured it by running:
mbed config --global GCC_ARM_PATH
Please fix also your documentation to include these commands as well because it took a while to understand what's going on
Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. Internal Jira reference: https://jira.arm.com/browse/IOTOSM-2046
Hi @symeonmattes, Glad that you managed to install mbed cli and got the program to work. We do have documentation https://os.mbed.com/docs/mbed-os/v6.3/build-tools/install-and-set-up.html but I agree that the link is not easy to find.
@iriark01 Could you look into replacing https://os.mbed.com/docs/mbed-os/v6.3/quick-start/build-with-mbed-cli.html with https://os.mbed.com/docs/mbed-os/v6.3/build-tools/install-and-set-up.html as the quick start guide does not provide information to configure compiler location?
Do you still need to configure it when you use an installer?
Closing as it has not been updated since the last year.
Hi,
Sorry for my late reply, as I didn't notice the comment. Just in case somebody else has the same issue, actually it's a conflict of the pip library. I tried different things such as:
pip install -r mbed-os/requirements.txt
The idea is to uninstall the packages i.e.
pip uninstall six, idna, cryptography
and then use this
pip install -r mbed-os/requirements.txt
Hi,
I'm running the command
mbed compile -m EP_AGORA -t GCC_ARM --flash
and I receive:
Then I run
sudo pip install -r mbed-os/requirements.txt
and I receive:
I'm running python3, pip3 on