pycbc icon indicating copy to clipboard operation
pycbc copied to clipboard

AttributeError: 'module' object has no attribute 'makedir'

Open santanu-tripathy opened this issue 3 years ago • 1 comments

While running the coincidence search workflow I am facing the following error

pycbc_make_coinc_search_workflow --config-files testNonSpin.xml -doutput`

'Traceback (most recent call last): `

File "/usr/bin/pycbc_make_coinc_search_workflow", line 62, in <module>

wf.makedir(args.output_dir)

AttributeError: 'module' object has no attribute 'makedir'

santanu-tripathy avatar Dec 17 '20 10:12 santanu-tripathy

@santanu-tripathy This error (which we need to make more useful), normally indicates that you do not have necessary dependencies installed. The most likely culprit is that you don't have the pegasus module installed.

If you are using pip to install stuff then a pip install -r requirements.txt after cloning pycbc would pull everything needed to run the full search workflow.

Where possible, we do recommend to use the released versions of the code in CVMFS:

source /cvmfs/oasis.opensciencegrid.org/ligo/sw/pycbc/x86_64_rhel_7/virtualenv/pycbc-v1.16.13/bin/activate

for using the all-sky search workflow as the configuration files are only extensively tested against the release code (and we are currently making a number of changes to elements of the search workflow).

spxiwh avatar Dec 17 '20 14:12 spxiwh