CounterFit-IoT / CounterFit

A simulator for IoT sensors and actuators. This creates fake virtual sensors and actuators when the real ones won't fit on your counter 🤪.
MIT License
200 stars 65 forks source link

counterfit pip install for linux is not found counterfit package #22

Open Toin1779712664 opened 1 year ago

Toin1779712664 commented 1 year ago

hi, terminal is Download OK!But I runningcounterfit --port 5050 is not found package

jimbobbennett commented 1 year ago

When you pip install, check for a warning about the install location not being in your path. For example:

WARNING: The script counterfit is installed in '/home/ubuntu/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

This should show you where pip installs packages and command line tools.

Either add this to your PATH, or run counterfit with a fully qualified path. e.g.:

/home/ubuntu/.local/bin/counterfit