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

MacPorts noreply at macports.org
Wed Jul 12 15:13:23 UTC 2017


#54469: problem using python 3.6 in Sierra 10.12.5/Xcode 8.3.3
------------------------+----------------------------
  Reporter:  lpagani91  |      Owner:  jyrkiwahlstedt
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:             |   Keywords:
      Port:  python36   |
------------------------+----------------------------
Description changed by mf2k:

Old description:

> Python 3.5 + pip + setuptools now work on my Mac.
>
> Lorenzo>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.
> >>> import pkg_resources
> >>>
>
> I uninstalled the 3.6 versions of all 3 packages (python, pip,
> setuptolls) and reinstalled them.
> Everything OK but when I try to use python 3.6 it crashes :
>
> Lorenzo>python3.6
> Python 3.6.1 (default, Apr 24 2017, 06:18: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.
> >>> import pkg_resources
> Python(96720,0x7fffcc2cc3c0) malloc: *** error for object 0x101789318:
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> Abort

New description:

 Python 3.5 + pip + setuptools now work on my Mac.
 {{{
 Lorenzo>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.
 >>> import pkg_resources
 >>>
 }}}

 I uninstalled the 3.6 versions of all 3 packages (python, pip, setuptolls)
 and reinstalled them.
 Everything OK but when I try to use python 3.6 it crashes :
 {{{
 Lorenzo>python3.6
 Python 3.6.1 (default, Apr 24 2017, 06:18: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.
 >>> import pkg_resources
 Python(96720,0x7fffcc2cc3c0) malloc: *** error for object 0x101789318:
 pointer being freed was not allocated
 *** set a breakpoint in malloc_error_break to debug
 Abort
 }}}

--

--
Ticket URL: <https://trac.macports.org/ticket/54469#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list