ARMmbed / ARMmbed/mbed-cli

mbed deploy auto installs missing Python modules

Open
#945 5 comments 0 reactions 0 assignees View on GitHub
Jira status: OPEN mirrored type: bug
Dominant language
Python
Stars
339
Forks
187
PR merge metrics
No merged PRs in 30d

Description

I thought the auto-installation was already removed. But maybe this got forgotten

https://github.com/ARMmbed/mbed-cli/blob/1.10.2/mbed/mbed.py#L1697

You can accidentally ruin your python environment with following commands:
```
$ pip install mbed-cli==1.10.2
...
$ cd mbed-os-projext-X
...
$ mbed deploy
[mbed] Working path "/home/jaakor01/workspace/mbed-cloud-client-example" (program)
[mbed] Adding library "mbed-cloud-client" from "ssh://git@github.com/ARMmbed/mbed-cloud-client" at rev #a90cdc723466
[mbed] Adding library "mbed-os" from "ssh://git@github.com/ARMmbed/mbed-os" at rev #64853b354fa1
[mbed] Adding library "drivers/COMPONENT_WIFI_ISM43362" from "ssh://git@github.com/ARMmbed/wifi-ism43362" at rev #1c040113be0f
[mbed] Auto-installing missing Python modules (pyyaml, jsonschema, mbed_cloud_sdk, jinja2, mbed_ls, mbed_host_tests, mbed_greentea, pyelftools, manifest_tool, icetea, pycryptodome, pyusb, cmsis_pack_manager, psutil, cryptography, click)...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.