Faraday-Software icon indicating copy to clipboard operation
Faraday-Software copied to clipboard

Raspberry Pi Install - Missing PATH

Open kb1lqd opened this issue 8 years ago • 1 comments

Summary

After installing raspbian cleanly onto my RPi3 I found that I could not access faraday programs after install through both pypy or in editable mode from GIT. The installation did occur but the commands could not be found. I suspect a PATH issue.

Problem Explanation

Faraday software commands not found after installation on a fresh raspbian platform.

Installing collected packages: itsdangerous, click, Werkzeug, MarkupSafe, Jinja2, Flask, pyflakes, enum34, configparser, pycodestyle, mccabe, flake8, pyserial, pyparsing, requests, six, packaging, appdirs, Flask-Cors, setuptools, py, pytest, aprslib, pytest-flake8, faraday
Successfully installed Flask-0.12 Flask-Cors-3.0.2 Jinja2-2.9.4 MarkupSafe-0.23 Werkzeug-0.11.15 appdirs-1.4.3 aprslib-0.6.46 click-6.7 configparser-3.5.0 enum34-1.1.6 faraday-0.0.1017.dev1417 flake8-3.3.0 itsdangerous-0.24 mccabe-0.6.1 packaging-16.8 py-1.4.33 pycodestyle-2.3.1 pyflakes-1.5.0 pyparsing-2.2.0 pyserial-3.2.1 pytest-3.0.7 pytest-flake8-0.8.1 requests-2.12.5 setuptools-36.6.0 six-1.10.0

After installation:

kb1lqd@raspberrypi:~ $ faraday-proxy
bash: faraday-proxy: command not found

Environment

Software

kb1lqd@raspberrypi:~ $ cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Hardware

Supporting Information

kb1lqd avatar Oct 26 '17 16:10 kb1lqd

It seems that simply installing into a virtual environment solves this problem! @kb1lqc should this be added to the default "Start" guide?

http://www.pythonforbeginners.com/basics/how-to-use-python-virtualenv/

(faraday) kb1lqd@raspberrypi:~/virtualenvironment/faraday/bin $ faraday-
faraday-aprs                 faraday-simpleconfig
faraday-data                 faraday-simpleui
faraday-deviceconfiguration  faraday-telemetry
faraday-proxy                

kb1lqd avatar Oct 26 '17 16:10 kb1lqd