I have pip install <package name>
installing the packages to AppData/Python/Python36/Scripts folder. How do I know the exact path to this folder from Command line?
I tried doing py -m site --userbase
This is showing AppData/Roaming/Python/Python36 which does not exist. How will I get to know the path without actually doing manual search?
PS : I am writing an automation script to install pip and awscli later. After I install pip, I face command not found error. So looking how to set path directly from a script without having to face the issue of manually setting it. Found out that pip.exe and aws.exe are under AppData/Python/Python36/Scripts. My question is how do I get this path from inside a script.