Closed enrcor01 closed 6 years ago
I already tried to install prettytable
enrique@enrique-VirtualBox ~/development/workspaces/app_engineers/mbed-cloud-client-example $ pip install prettytable
Requirement already satisfied: prettytable in /usr/local/lib/python2.7/dist-packages
@enrcor01 can you please try mbed new example_program
and let me know what happens?
bump @enrcor01
bump2 @enrcor01
For me as well.
Jacobs-MacBook-Air:mbed-os-example-ble jacobrosenthal$ mbed new example_program
[mbed] Creating new program "example_program" (git)
[mbed] Adding library "mbed-os" from "https://github.com/ARMmbed/mbed-os" at branch latest
[mbed] Updating reference "mbed-os" -> "https://github.com/ARMmbed/mbed-os/#2885c1b41e63158cb6faf5f107cd821ae06ef26c"
I had to
brew uninstall python
sudo easy_install pip
sudo pip install -r mbed-os/requirements.txt
@jacobrosenthal Thanks for sharing your experience! Was your problem having two installations of python? And the brew
installation's packages were superseding your system installation?
Presumably something like that.
I could run python
and from prettytable import PrettyTable
would error, but if I ran python2
from prettytable import PrettyTable
would succeed
Not really sure how pathing works and new osx comes with python ~2.7 so just decided to kill brew's python entirely.
Ahh yeah, that'd probably do it! I'm not really sure how we can avoid this problem since it will pretty variable between different users' environments.
@enrcor01 Could you please recheck with mbed CLI 1.2.0 and update this issue?
This is same a #245. It was already closed but I am facing the same issue I install the latest mbed-cli:
And then when I try to compile my application I get