-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Description
- Type: Bug
- Priority: Blocker
Bug
If I create a new directory called tmp
go into that directory and try to create new Mbed OS application, it fails:
tmp$ mbed new .
[mbed] Creating new program "tmp" (git)
[mbed] Adding library "mbed-os" from "https://github.com/ARMmbed/mbed-os" at branch/tag "latest"
[mbed] Updating reference "mbed-os" -> "https://github.com/ARMmbed/mbed-os/#c05d72c3c005fbb7e92c3994c32bda45218ae7fe"
[mbed] ERROR: Unknown Error: 'module' object has no attribute 'get_installed_distributions'
---
OS: Mac OS X
Using virtualenv with pip version 10.0.0.
Update
To fix: pip install -U pip==9.0.3
So problem appears when pip version is 10.0.0 or newer.