I don't have that much experience with Linux (I use Fedora 29) or Terminal, so I tried follow the Installation notes (https://downloads.ccdc.cam.ac.uk/documentation/API/installation_notes.html) step by step in order to correctly install the 2019 version of CSD Python API. During this, I stumbled upon an issue at step 5 of "Using pip on Linux and macOS", specifically the LD_LIBRARY_PATH part. If I run the command "export LD_LIBRARY_PATH="/lib/python2.7/site-packages/ccdc/_lib:$LD_LIBRARY_PATH" in Terminal directly, I can access CSD in Python without any problem. However, whenever I add that line to my .bashrc or .bash_profile file, my desktop environment (KDE Plasma) fails upon rebooting my computer, giving the error "Could not start kdeinit5". As it seems very cumbersome to manually run the line in question each time I want to use CSD in Python, I hope someone can tell me what it is that I'm doing wrong.
I'm guessing it has something to do with "$PYTHONHOME", but the command ran fine in Terminal when I entered it manually without including that part. I tried running it with "export PYTHONHOME="/usr/bin/python2.7:$PYTHONHOME" " preceding the "export LD_LIBRARY_PATH="$PYTHONHOME/lib/python2.7/site-packages/ccdc/_lib:$LD_LIBRARY_PATH" line, but that didn't solve anything.
NB: please keep in mind that my knowledge and experience is very basic when replying