problem with pkg_resources in python 3

Ryan Schmidt ryandesign at macports.org
Wed Jul 12 16:01:50 UTC 2017


On Jul 12, 2017, at 09:30, pagani laurent via macports-users 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.

Did you run a third-party installer, which was itself made with MacPorts, and which was based on older versions of python35 and other ports, and which has now overwritten your up-to-date MacPorts software with out of date versions?

From time to time we find third parties that have published such installers. If you did run such a thing, please let us know what it is, and please let the publishers of the installer know that they're doing it wrong (they need to install to somewhere other than /opt/local).

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


More information about the macports-users mailing list