I have installed pyinstaller using pip3. In my home/pi folder, i have a python file (testProg.py) I tried to create the executable using pyinstaller.
pyinstaller --onefile testProg.py
But I am getting the following error
pyinstaller: command not found
Is it a directory problem? any help, please
pi@raspberrypi:~ $ pip3 install pyinstaller
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyinstaller in ./.local/lib/python3.7/site-packages (3.6)
Requirement already satisfied: altgraph in ./.local/lib/python3.7/site-packages (from pyinstaller) (0.17)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from pyinstaller) (40.8.0)