Python Forum

Full Version: i need a way ...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i need a way, given a file path, a way to determine whether apt-get or pip installed it (and not if they think they did). in an old backup i am able to access with chroot, i can see that at least packages botocore and boto3 (python modules to access AWS) are listed as installed by both. on my live system i have managed to uninstall those under both. but when i install one or the other, they don't work. this backup is too old to simply restore from. but maybe selected files can be copied over. it is a full backup from about 4 months ago. everything i need to do, now, was working back then.