Open leinxx opened 6 years ago
Have you solved it? I just met the same issue. I install brevity via pip install
Same here!
Apparently s4cmd defined this function with one argument. This is the function definition in their code:
@staticmethod def init_s3_keys(opt): '''Initialize s3 access keys from environment variable or s3cfg config file.''' S3Handler.S3_KEYS = S3Handler.s3_keys_from_cmdline(opt) or S3Handler.s3_keys_from_env() \ or S3Handler.s3_keys_from_s3cfg(opt)
My workaround was to edit the fs.py file and replace the function call by:
S3Handler.S3_KEYS = S3Handler.s3_keys_from_env()
I am looking for using briefly to build my pipelined workflow. When I try to import briefly, this error occurs:
I have s4cmd 2.0.1 installed.
Thanks,
Lei