Configuring Python3 on MacOS Macports

Forrest forrie at forrie.com
Mon Dec 2 19:43:25 UTC 2019


The /usr/bin/python installs the executable into /usr/local/bin. I'd be 
fine if the Macports installed it in /opt/local/bin -- this makes me 
believe there is a config directive I'm missing somewhere.



On 12/2/19 2:38 PM, Christopher Jones wrote:
> When you say " vs /usr/bin/python that does the right thing and places the commands in proper places “  where exactly are you referring to ? Where exactly do you want the macports provided python to install things to ?
>
>> On 2 Dec 2019, at 7:50 pm, Forrest <forrie at forrie.com> wrote:
>>
>> I'm new to Python and I'm trying to figure out why, for example, when I install aws-cli (from source) using Macports, it doesn't install properly vs /usr/bin/python that does the right thing and places the commands in proper places.   When I run "/opt/local/bin/python setup.py install" it ends up buried in directories under the Macports directory structure, which isn't usable.   Maybe I am missing some ENV variables?
>>
>>
>>
>> F
>>



More information about the macports-users mailing list