first test if its set:
if you want to set it temporarily
note that you add the desired path you want (in my case /home) and additionally append the $PYTHONPATH variable othewise you'll delete your exisiting path and will only get /home on your path. this is important!
if you want to make it persistent add the command on ~/.bashrc.do
add the command at the end of the file
reboot and check if your desired PYTHONPATH is set doing: