problem with pkg_resources in python 3

mf2k at macports.org mf2k at macports.org
Wed Jul 12 14:40:14 UTC 2017


> On Jul 12, 2017, at 8:36 AM, Joshua Root <jmr at macports.org> wrote:
> 
> On 2017-7-13 00:30 , pagani laurent wrote:
>> It is (to me) very strange!
>> Lorenzo>sudo port upgrade python35
>> --->  Scanning binaries for linking errors
>> --->  No broken files found.
>> Lorenzo>sudo port installed python35
>> The following ports are currently installed:
>>   python35 @3.5.3_1 (active)
>> Lorenzo>type python3.5
>> python3.5 is /opt/local/bin/python3.5
>> Lorenzo>python3.5
>> Python 3.5.2 (default, Dec 17 2016, 06:22:37)
>> [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> ^D>>>
>> Lorenzo>/opt/local/bin/python3.5
>> Python 3.5.2 (default, Dec 17 2016, 06:22:37)
>> [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>> so it claims it is 3.5.3 which is installed but when launching it says 3.5.2.
>> The software version not updated in the code ?
> 
> That indeed seems very strange. When I run it I see the correct version:
> 
> % python3.5
> Python 3.5.3 (default, Apr 23 2017, 18:09:27)
> [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
> 
> Is /opt/local/bin/python3.5 somehow a link to a different version? Does uninstalling and reinstalling python35 help?

What is the output of this?

ls -l /opt/local/bin/python3.5


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170712/9cd10b90/attachment.html>


More information about the macports-users mailing list