./configure
William R. Wing (Bill Wing)
wrw at mac.com
Sun Jun 3 22:44:14 EDT 2012
On Jun 3, 2012, at 8:31 PM, Steven D'Aprano wrote:
> On Sun, 03 Jun 2012 15:01:07 -0700, Janet Heath wrote:
>
>> Thanks Alain. I should have a compiler on my Mac OS X Lion. I am
>> thinking that it isn't set in my $PATH variable. I don't know where the
>> $PATH is set at. I will check to see if their is a binary.
>
> At the command line, run:
>
> echo $PATH
>
> to see the path.
>
> I'm not sure where OS X sets the PATH, but Linux systems normally set
> them in /etc/profile. User-customisations should go in a shell rc file,
> e.g. if you are using bash, edit ~/.bashrc.
>
> To add additional paths to the PATH:
>
> export $PATH=$PATH:/some/directory:/another/directory
>
>
> To replace the system path completely:
>
> export $PATH=/some/directory:/another/directory
>
>
>
> --
> Steven
> --
> http://mail.python.org/mailman/listinfo/python-list
Jumping in here in an effort to be helpful… OS-X no longer uses a .bashrc file (although it will recognize it). The python path is set in ~/.profile
-Bill
More information about the Python-list
mailing list