Azure / Azure/iotedgedev

dependency missing "Click"[BUG]

Open
#610 1 comment 0 reactions 0 assignees View on GitHub
bug triage
Dominant language
Python
Stars
166
Forks
76
PR merge metrics
No merged PRs in 30d

Description

### Description

[This ](iotedgedev/cli.py)uses Click.
However, on a Raspberry Pi 4 with latest OS "Linux RPi4-Alpha 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux"

Running command `iotedgedev init --template python LED` **fails** with error:

> ModuleNotFoundError: No module named 'click'

### Expected behavior

installer should include all dependancies

`sudo pip3 install -U iotedgedev`

### Actual behavior

as-is install not usable

### Steps to Reproduce

Follow [these steps](https://github.com/Azure/iotedgedev/blob/main/docs/environment-setup/manual-dev-machine-setup.md).

attempt to begin new project:
`iotedgedev init --template python LED`

### Environment

$ uname -a
Linux RPi4-Alpha 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
$ python --version
Python 3.9.2
$ pip --version
pip 23.2.1 from /home/inc/.local/lib/python3.9/site-packages/pip (python 3.9)
$ iotedgedev -- version
Traceback (most recent call last):
File "/usr/local/bin/iotedgedev", line 5, in
from iotedgedev.cli import main
File "/usr/local/lib/python3.9/dist-packages/iotedgedev/cli.py", line 5, in
import click
ModuleNotFoundError: No module named 'click'

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.