Skip to content

fsspec-xrootd needed with xrootd v5.5.5

What happens?

In the latest with xrootd v5.5.5, the following code (which worked in an earlier version with xrootd v5.4.3) :

import uproot
import awkward as ak

cms_file = 'root://eospublic.cern.ch//eos/opendata/cms/Run2016H/DoubleMuon/NANOAOD/UL2016_MiniAODv2_NanoAODv9-v1/2510000/127C2975-1B1C-A046-AABF-62B77E757A86.root'

cms_infile = uproot.open(cms_file)

fails with

[...]
ImportError: Install fsspec-xrootd to access xrootd storage system

How to fix?

Add fsspec-xrootd to requirements.txt