<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 12, 2017, at 12:32 PM, pagani laurent <<a href="mailto:laurent.pagani@laposte.net" class="">laurent.pagani@laposte.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">Le 12 juil. 2017 à 18:00, <<a href="mailto:mf2k@macports.org" class="">mf2k@macports.org</a>> <<a href="mailto:mf2k@macports.org" class="">mf2k@macports.org</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jul 12, 2017, at 9:56 AM, pagani laurent <<a href="mailto:laurent.pagani@laposte.net" class="">laurent.pagani@laposte.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">Le 12 juil. 2017 à 17:52, <<a href="mailto:mf2k@macports.org" class="">mf2k@macports.org</a>> <<a href="mailto:mf2k@macports.org" class="">mf2k@macports.org</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jul 12, 2017, at 9:47 AM, pagani laurent <<a href="mailto:laurent.pagani@laposte.net" class="">laurent.pagani@laposte.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">Le 12 juil. 2017 à 17:44, <<a href="mailto:mf2k@macports.org" class="">mf2k@macports.org</a>> <<a href="mailto:mf2k@macports.org" class="">mf2k@macports.org</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Palatino-Roman; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class=""><div class=""><br class="Apple-interchange-newline">On Jul 12, 2017, at 9:40 AM, pagani laurent via macports-users <<a href="mailto:macports-users@lists.macports.org" class="">macports-users@lists.macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><blockquote type="cite" class="">Le 12 juil. 2017 à 17:19, MacPorts <<a href="mailto:noreply@macports.org" class="">noreply@macports.org</a>> a écrit :<br class=""><br class="">#54469: problem using python 3.6 in Sierra 10.12.5/Xcode 8.3.3<br class="">------------------------+----------------------------<br class="">Reporter:  lpagani91  |      Owner:  jyrkiwahlstedt<br class="">    Type:  defect     |     Status:  closed<br class="">Priority:  Normal     |  Milestone:<br class="">Component:  ports      |    Version:  2.4.1<br class="">Resolution:  invalid    |   Keywords:<br class="">    Port:  python36   |<br class="">------------------------+----------------------------<br class=""><br class="">Comment (by mf2k):<br class=""><br class="">To clarify, your Xcode command line tools are out of date. Did you follow<br class="">the wiki:Migration Instructions?<br class=""></blockquote><br class="">Sort of…<br class=""><br class="">My XCode info window says I have 8.3.3<br class="">When I run softwareupdate :<br class=""><br class="">Lorenzo>softwareupdate --list<br class="">Software Update Tool<br class=""><br class="">Finding available software<br class="">No new software available.<br class=""><br class="">it finds nothing to update. So my CLT should be uptodate. I don’t understand why python3.6 is finding an older version.<br class=""></div></div></blockquote></div><br class="" style="font-family: Palatino-Roman; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="" style="font-family: Palatino-Roman; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Maybe it was built with the old command line tools then. Can you try rebuilding it?</div><div class="" style="font-family: Palatino-Roman; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""></div><div class="" style="font-family: Palatino-Roman; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><font face="Monaco" class="">sudo port -f uninstall python36</font></div><div class="" style="font-family: Palatino-Roman; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><font face="Monaco" class="">sudo port install python36</font></div></div></blockquote></div><div class=""><br class="webkit-block-placeholder"></div><div class="">That is exactly what I did just before I posted the failure message.</div></div></div></blockquote><br class=""></div><div class="">I see from the other thread that you rebuilt python35, so you also rebuilt python36 then?</div></div></div></blockquote><div class=""><br class=""></div><div class="">Yes! 3.5 was pretending being 3.5.3 package but execution was showing 3.5.2. After successful uninstall/reinstall I tried the same trick with 3.6 but with no success.</div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">What is the output of this?</div><div class=""><br class=""></div><div class=""><font face="Monaco" class="">echo -en "=== $(/usr/bin/xcodebuild -version |head -n1) ===\n * '''Xcode''': $(/usr/bin/xcodebuild -version |tail -1)\n$(test -x /usr/bin/gcc-3.3 && echo " * '''gcc-3.3''': $(/usr/bin/gcc-3.3 --version 2>/dev/null |head -1)\n")$(test -x /usr/bin/gcc-4.0 && echo " * '''gcc-4.0''': $(/usr/bin/gcc-4.0 --version 2>/dev/null |head -1)\n")$(test -x /usr/bin/gcc-4.2 && echo " * '''gcc-4.2''': $(/usr/bin/gcc-4.2 --version 2>/dev/null |head -1)\n")$((test -x /usr/bin/llvm-gcc-4.2 || test -x /Developer/usr/bin/llvm-gcc-4.2) && echo " * '''llvm-gcc''': $((/usr/bin/llvm-gcc --version 2>/dev/null || /Developer/usr/bin/llvm-gcc --version 2>/dev/null) |head -1)\n")$((test -x /usr/bin/clang || test -x /Developer/usr/bin/clang) && echo " * '''clang''': $((test -x /usr/bin/clang && /usr/bin/clang --version 2>&1 || /Developer/usr/bin/clang --version 2>&1) |head -1)\n")" |tee /dev/tty |pbcopy</font></div></div></div></blockquote><div class=""><br class=""></div>Waouh! Under tcsh, it failed, under bash :</div><div class=""><br class=""></div><div class=""><div class="">=== Xcode 8.3.3 ===</div><div class=""> * '''Xcode''': Build version 8E3004b</div><div class=""> * '''clang''': Apple LLVM version 8.1.0 (clang-802.0.42)</div></div></div></div></blockquote><br class=""></div><div class="">That looks good. So now when you launch python3.6, what is the output?</div></div></div></blockquote><div class=""><br class=""></div>The same as before. I even tried to uninstall and reinstall again python3.6 but the result is the same. Even a ”print” command makes it crash.</div><div class="">Perhaps I should reboot after the last Xcode (partial) update : when I opened it the first time after upgrading to 8.3.3, it asked me to install 3 or 4 S/W to run but I have not rebooted since it was not asked but that does not sound very rational…</div></div></div></blockquote><br class=""></div><div>It is worth a try. </div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><br class=""></body></html>