[MacPorts] #68808: awkward array cannot be imported

MacPorts noreply at macports.org
Wed Nov 29 15:17:56 UTC 2023


#68808: awkward array cannot be imported
--------------------------+-----------------------------------
 Reporter:  yszhang95     |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:  arm64 sonoma  |       Port:  py-scikit-hep-awkward
--------------------------+-----------------------------------
 What I have done,

 {{{
 ~ % sudo port clean py-scikit-hep-awkward
 Password:
 --->  Cleaning py-scikit-hep-awkward
 ~ % sudo port install py-scikit-hep-awkward
 --->  Computing dependencies for py-scikit-hep-awkward
 --->  Cleaning py-scikit-hep-awkward
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 }}}

 The error message reads
 {{{
 Python 3.11.6 (main, Nov 14 2023, 12:12:41) [Clang 15.0.0
 (clang-1500.0.40.1)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import awkward_array
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 ModuleNotFoundError: No module named 'awkward_array'
 >>> import awkward
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/awkward/__init__.py", line 12, in <module>
     import awkward.contents
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/awkward/contents/__init__.py", line 3, in <module>
     from awkward.contents.bitmaskedarray import BitMaskedArray  # noqa:
 F401
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/awkward/contents/bitmaskedarray.py", line 22, in <module>
     from awkward.contents.bytemaskedarray import ByteMaskedArray
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/awkward/contents/bytemaskedarray.py", line 11, in <module>
     from awkward._layout import maybe_posaxis
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/awkward/_layout.py", line 6, in <module>
     from awkward._backends.numpy import NumpyBackend
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/awkward/_backends/numpy.py", line 4, in <module>
     import awkward_cpp
 ModuleNotFoundError: No module named 'awkward_cpp'
 }}}

 The platform is Apple M2 Pro, Sonoma 14.0

-- 
Ticket URL: <https://trac.macports.org/ticket/68808>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list