[MacPorts] #54469: problem using python 3.6 in Sierra 10.12.5/Xcode 8.3.3

mf2k at macports.org mf2k at macports.org
Wed Jul 12 15:52:23 UTC 2017


> On Jul 12, 2017, at 9:47 AM, pagani laurent <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?

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


-Frank


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


More information about the macports-users mailing list