Every once in a while I need to do some Bash scripting. Especially when grading students, but sometimes for other purposes. The answer to how to do stuff in bash is a Google search away. However, there are some websites with great pointers on what to do, and what not to do in Bash:
Check out Tiny 7:
Supposed to be faster, and less space consuming.
First of all, check the current python path:
Then, check the current .bashrc file. For example, use:
gedit .bashrc &
Add the following lines to the end of the file:
export PYTHONPATH=$HOME/"location of library"
Note that sometimes you will need to add the above to the
.profile file instead.