Thanks Alexander, indeed     fink rebuild python27solved the problem! 
subsequently "fink install pip-py27" worked flawlessly.
My on month struggle is over :)
Greetings,Radek   


     On Monday, June 8, 2015 6:28 PM, Alexander Hansen 
<alexanderk.han...@gmail.com> wrote:
   

 
> On Jun 8, 2015, at 08:18, Radek Szklarczyk <kedar...@yahoo.com> wrote:
> 
> So I thought maybe something is wrong with my packages. So I removed 
> python2.7 from my system (with —recursive option) and deleted 
> /sw/lib/python2.7/site-packages directory. Then I tried to install python 
> 2.7, which seemingly was successful, till I try to run it… Where I see OS X 
> python 2.7.6 instead 2.7.10
> 
> $ fink list python27
> Information about 11273 packages read in 1 seconds.
>  i  python27        1:2.7.10-1  Interpreted, object-oriented language
>  i  python27-shlibs  1:2.7.10-1  Interpreted, object-oriented language
> $ ls /sw/lib/python2.7/site-packages
> README
> $ python2.7 -V
> Python 2.7.6
> $ which python2.7
> /sw/bin/python2.7
> $ python2.7
> Python 2.7.6 (default, Sep  9 2014, 15:04:36) 
> [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> 
> $ /sw/bin/python2.7
> Python 2.7.6 (default, Sep  9 2014, 15:04:36) 
> [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> 
> $ echo $PATH
> /sw/bin:/sw/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/sw/lib/coreutils/bin:/Users/Radek/bin:/Users/Radek/Science/workspace/Main/radek/bin
> 
> 
> 

That could explain the problem with your builds.  If you used “fink install 
python27” or “fink reinstall python27” to install python27 again, try using 
“fink rebuild python27”. 

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


  
------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to