I am having some trouble with a library and debugging it. Basically I switched from one version to a forked version, which worked fine locally, but once deployed to the production server didn't work.
I then went into the file I thought was being loaded to see what was going on, and put some print()'s, but after restarting apache2 and running my script, none of the prints are showing. I get the feeling it isn't loading the file I have modified, and so want to confirm where it is making the request from.
sys.path isn't tremendously helpful, and in the venv directory I have a ----.dist-info
folder for my library, but not the actual src for me to tweak, that has (for some reason) been put elsewhere (I checked this using pip3 list).
Any help or suggestions would be appreciated, as not sure how I can debug things with the information I have at present.