Jan-30-2021, 08:18 PM
I'm running Python 3.7.3 and trying to add a library to sys.path. I can add it but it doesn't stick after next reload. I edited ~/.bashrc with the following:
PYTHONPATH="${PYTHONPATH}:/home/pi/Code"
export PYTHONPATH
PYTHONPATH now contains just '/home/pi/Code'. I have added an empty file '__site__.py' to the library. Is there something missing?
PYTHONPATH="${PYTHONPATH}:/home/pi/Code"
export PYTHONPATH
PYTHONPATH now contains just '/home/pi/Code'. I have added an empty file '__site__.py' to the library. Is there something missing?