How would I install python3.9
in a custom or user-defined location?
Ideally if I say brew install [email protected]
, python gets installed in /usr/local/bin/
but I need to have this installed in a different location. How would I do that?
I am able to change the path or choose the path while installing on Windows and not on Mac. Could someone please help me on this?
One of the solutions you can choose, is to install Anaconda. Anaconda should give you the step Destination Select, where you can select where to install the base enviroment, as can also be seen here. base will be where a Python version of your choice will be installed. You can later on add more versions in other environments as outlined in the comment of triplee