> Le 12 juil. 2017 à 16:40, <[email protected]> <[email protected]> a écrit : > > >> On Jul 12, 2017, at 8:36 AM, Joshua Root <[email protected] >> <mailto:[email protected]>> 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
Lorenzo>ls -l /opt/local/bin/python3.5 lrwxr-xr-x 1 root admin 73 Apr 23 20:10 /opt/local/bin/python3.5 -> /opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 it was the same before I uninstalled and reinstalled it… Problem solved, anyway. laurent "S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise Shadok)
