PelionIoT / manifest-tool

A tool for creating and parsing update manifests
Apache License 2.0
10 stars 14 forks source link

Cannot call manifest-tool on command line when installed from pip #11

Closed maclobdell closed 4 years ago

maclobdell commented 4 years ago

Description

manifest-tool is not recognized as a valid executable when installed through pip. Tested on both Windows and Linux

Steps to recreate the issue

> pip install -U manifest-tool
> manifest-tool
'manifest-tool' is not recognized as an internal or external command,
operable program or batch file.

Background

Environment

Impact

Multiple users have reported this.

Workaround

Install from source.

> git clone https://github.com/armmbed/manifest-tool
> cd manifest-tool
> pip install . --user
> manifest-tool
usage: manifest-tool [-h] [-l {debug,info,warning,exception}] [--version]
                     {create,parse,verify,cert,init,sign,update} ...
OPpuolitaival commented 4 years ago

I did see same in linux

ciarmcom commented 4 years ago

ARM Internal Ref: IOTUC-1287

alzix commented 4 years ago

cannot reproduce it on either of my Linux, Windows and MacOS machines.

C:\Users\User>where manifest-tool
C:\Python37\Scripts\manifest-tool.exe

same for linux - please check your Python installation perhaps upgrading to latest version of Python and pip package can help.

alzix commented 4 years ago

Please make sure your PATH contains directories used by Python to install the entry point scripts. Refer to this thread