problem with pkg_resources in python 3

pagani laurent laurent.pagani at laposte.net
Wed Jul 12 14:50:01 UTC 2017


> Le 12 juil. 2017 à 16:36, Joshua Root <jmr at macports.org> a écrit :
> 
> 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?


Yes, it works!

(forgot to reply to the User list)

Laurent

"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise Shadok)

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


More information about the macports-users mailing list