I'm trying to install FINK /Python and this is what I would like to happen:
sudo apt-get install python22 (Python 2.2 for Mac OSX)
rehash (make sure the system knows about the recent installations)
which python2.2 (you should see /sw/bin/python2.2)
���If not, your search path is not giving preference to /sw/bin, and installation won't work properly.
python2.2 (you should see "Python 2.2"; type 2+2, press Enter, and see 4)
Ctrl-D to exit from Python
Instead this happened.
[h0003939dc8d2:~] markskin% rehash
[h0003939dc8d2:~] markskin% which python2.2
/usr/bin/python2.2
[h0003939dc8d2:~] markskin% python2.2
Python 2.2 (#1, 10/24/02, 16:10:52)
[GCC Apple cpp-precomp 6.14] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 2+2
4
>>> ^D
[h0003939dc8d2:~] markskin% sudo tar -Pxf VPythonOSX-20031017.tar
Password:
tar: VPythonOSX-20031017.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[h0003939dc8d2:~] markskin% cd
[h0003939dc8d2:~] markskin% sudo tar - Pxf VPythonOSX-20031017.tar
My question: How can I get my Python to see the /sw/bin rather than the /usr/bin?
Thanks for your help.
- Re: [Fink-beginners] Easy question - I hope Mark Skinner
- Re: [Fink-beginners] Easy question - I hope Alexander K. Hansen
