Which python??
Bruce Johnson
bruce.desertrat at gmail.com
Sat Oct 19 11:20:25 PDT 2013
I installed python33, 'sudo port install python33', at the end port showed the command to make it the active python:
To make python 3.3 the default (i.e. the version you get when you run 'python'),
please run:
sudo port select --set python python33
---> Cleaning python33
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.
So I did:
bruces-Mac-Pro:Dropbox johnson$ sudo port select --set python python33
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
Password:
Selecting 'python33' for 'python' succeeded. 'python33' is now active.
Check it:
bruces-Mac-Pro:Dropbox johnson$ python -V
Python 2.7.2
But it appears that it's still 2.72
bruces-Mac-Pro:Dropbox johnson$ which python
/opt/local/bin/python
And the python I'm using is the on in the MacPorts /opt/local directory
bruces-Mac-Pro:Dropbox johnson$ python33 -V
-bash: python33: command not found
And I cannot run python33 ?
bruces-Mac-Pro:Dropbox johnson$ sudo port select --list python
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
Password:
Available versions for python:
none
python25-apple
python26-apple
python27
python27-apple
python33 (active)
And it's supposedly active one?
What am I missing?
--
Bruce Johnson
"Wherever you go, there you are" B. Banzai, PhD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20131019/9a03185d/attachment.html>
More information about the macports-users
mailing list