I guess I corrupted my python packages with "pip install" and only removing all
packages and python2.7, reinstalling and rebuilding python27 (necessary step)
recovered my setup.Thanks!
On Tuesday, June 9, 2015 3:15 AM, Daniel Johnson
<[email protected]> wrote:
> On Jun 8, 2015, at 12:28 PM, Alexander Hansen <[email protected]>
> wrote:
>
>>
>> On Jun 8, 2015, at 08:18, Radek Szklarczyk <[email protected]> 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
Just a FYI; Radek is having almost the same issue trying to install
pycparser-py27 except he’s getting “error: cannot copy tree
‘build/scripts-2.7’: not a directory”, which is true since that directory
shouldn’t exist but I don’t know why setuptools is trying to install a
non-existing script when nothing in setup.py tells it to. Maybe
setuptools-tng-py27 is corrupt?
Daniel
------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users