Python 3.9 on a Mac with OS 10.15.4. For some reason, I started encountering difficulties a while back installing packages from PyPI using the usual pip install..., so I resorted to downloading each new package, unzipping it, and running the setup from the terminal.
I'd like to avoid the hassle and return to pip, adding the correct option so I can install to a specified directory, where I've been downloading the packages manually. I've tried various suggestions without any success.
Desired location: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/
One attempt of many:
pip install packagename -t / /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/
I should point out that if this is related to virtual environments, that's something I'm trying to figure out separately.