Skip to content

mbed-cli fails on pip > 9.0.3 #6763

@SeppoTakalo

Description

@SeppoTakalo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions