How to pip install to an external drive?
问题 I have a USB with a python installation that I carry around with me & use on computers that don't have python installed/don't allow you to install modules. I'd like to install a python package onto it but have been having trouble. Let me use the package rebound-cli for example. If I pip install rebound-cli , the package is installed onto my PC installation of python D:\Program Files (x86)\Python36-32 . The directory of my USB python installation is H:\.bin\Program Files\Python . I've tried