[MacPorts] #54469: problem using python 3.6 in Sierra 10.12.5/Xcode 8.3.3
pagani laurent
laurent.pagani at laposte.net
Wed Jul 12 18:32:44 UTC 2017
> Le 12 juil. 2017 à 18:00, <mf2k at macports.org> <mf2k at macports.org> a écrit :
>
>
>> On Jul 12, 2017, at 9:56 AM, pagani laurent <laurent.pagani at laposte.net <mailto:laurent.pagani at laposte.net>> wrote:
>>
>>
>>> Le 12 juil. 2017 à 17:52, <mf2k at macports.org <mailto:mf2k at macports.org>> <mf2k at macports.org <mailto:mf2k at macports.org>> a écrit :
>>>
>>>
>>>> On Jul 12, 2017, at 9:47 AM, pagani laurent <laurent.pagani at laposte.net <mailto:laurent.pagani at laposte.net>> wrote:
>>>>
>>>>
>>>>> Le 12 juil. 2017 à 17:44, <mf2k at macports.org <mailto:mf2k at macports.org>> <mf2k at macports.org <mailto:mf2k at macports.org>> a écrit :
>>>>>
>>>>>>
>>>>>> On Jul 12, 2017, at 9:40 AM, pagani laurent via macports-users <macports-users at lists.macports.org <mailto:macports-users at lists.macports.org>> wrote:
>>>>>>
>>>>>>
>>>>>>> Le 12 juil. 2017 à 17:19, MacPorts <noreply at macports.org <mailto:noreply at macports.org>> a écrit :
>>>>>>>
>>>>>>> #54469: problem using python 3.6 in Sierra 10.12.5/Xcode 8.3.3
>>>>>>> ------------------------+----------------------------
>>>>>>> Reporter: lpagani91 | Owner: jyrkiwahlstedt
>>>>>>> Type: defect | Status: closed
>>>>>>> Priority: Normal | Milestone:
>>>>>>> Component: ports | Version: 2.4.1
>>>>>>> Resolution: invalid | Keywords:
>>>>>>> Port: python36 |
>>>>>>> ------------------------+----------------------------
>>>>>>>
>>>>>>> Comment (by mf2k):
>>>>>>>
>>>>>>> To clarify, your Xcode command line tools are out of date. Did you follow
>>>>>>> the wiki:Migration Instructions?
>>>>>>
>>>>>> Sort of…
>>>>>>
>>>>>> My XCode info window says I have 8.3.3
>>>>>> When I run softwareupdate :
>>>>>>
>>>>>> Lorenzo>softwareupdate --list
>>>>>> Software Update Tool
>>>>>>
>>>>>> Finding available software
>>>>>> No new software available.
>>>>>>
>>>>>> it finds nothing to update. So my CLT should be uptodate. I don’t understand why python3.6 is finding an older version.
>>>>>
>>>>> Maybe it was built with the old command line tools then. Can you try rebuilding it?
>>>>>
>>>>> sudo port -f uninstall python36
>>>>> sudo port install python36
>>>>
>>>>
>>>> That is exactly what I did just before I posted the failure message.
>>>
>>> I see from the other thread that you rebuilt python35, so you also rebuilt python36 then?
>>
>> 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.
>>
>>>
>>> What is the output of this?
>>>
>>> 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
>>
>> Waouh! Under tcsh, it failed, under bash :
>>
>> === Xcode 8.3.3 ===
>> * '''Xcode''': Build version 8E3004b
>> * '''clang''': Apple LLVM version 8.1.0 (clang-802.0.42)
>
> That looks good. So now when you launch python3.6, what is the output?
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.
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…
"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/eb87c34a/attachment.html>
More information about the macports-users
mailing list