AttributeError: module 'awkward' has no attribute 'layout' #2004
-
Hi, I am using the following python: and added the following libraries: pip3 install -t locallibs/ uproot awkward fastjet Versions: However, I get the following error when using fastjet:
Do you have any idea how I could solve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @dr-stringfellow. Thanks for reporting it. I think, you need a newer version of FastJet that has not been released yet. The error you observe comes from the fact that this version is using Awkward v1. I can see that this has already been fixed in the GitHub: https://github.com/scikit-hep/fastjet/blob/main/src/fastjet/_pyjet.py by @jpivarski in scikit-hep/fastjet#156 |
Beta Was this translation helpful? Give feedback.
Hi @dr-stringfellow. Thanks for reporting it. I think, you need a newer version of FastJet that has not been released yet. The error you observe comes from the fact that this version is using Awkward v1. I can see that this has already been fixed in the GitHub: https://github.com/scikit-hep/fastjet/blob/main/src/fastjet/_pyjet.py by @jpivarski in scikit-hep/fastjet#156