On Mar 24, 2004, at 12:27 PM, Mark Skinner wrote:


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.


It's not clear from what you posted. Did you install python22?


What do you get if you run "fink list -i python" in a terminal?

--
Alexander Hansen
Fink Documentarian
[Day Job] Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to