Thanksfor your reply! How/ where do I adjust the path, please? I installed the package directly using "pip3 install python-bitcoinrpc". And then I tried importing it from within my python script (I use spyder IDE). Sorry for the noob question but where should I be adjusting paths and what should the new path be, please?
I tried what you did (install with pip and copy the code from 1st post) and it works properly, except i didn't set my RPC-JSON username/password. Tried with Python 3.7 on Debian Stretch.
Check this guide if you still face the problem
https://stackoverflow.com/questions/67631/how-to-import-a-module-given-the-full-path.
If you don't care about cross-OS usability, then use guide from
Daryl Spitzer and find out default location of python module. On linux, it should be located somewhere near
/usr/local/lib/python3.7/dist-packages/bitcoinrpc/