cannot import name 'load_profile' from 'geoseeq.utils'
D
David Danko
this bug has been fixed in the newest release. Please run
pip install geoseeq==0.5.1
to install the fix.h
huaxinlei
Hi David. Thanks for your reply. I tried the newest one, but there is still a problem.
I create an env with mamba: mamba create -n geoseeq python=3.8
and then install geoseeq: pip install geoseeq==0.5.1
It worked well when I ran "geoseeq --help", but when I tried "geoseeq download files", the following occurred:
Traceback (most recent call last):
File "/disk/rdisk10/huaxinlei2/anaconda3/envs/geoseeq/bin/geoseeq", line 8, in <module>
sys.exit(main())
File "/disk/rdisk10/huaxinlei2/anaconda3/envs/geoseeq/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
return self.main(
args,
*kwargs)File "/disk/rdisk10/huaxinlei2/anaconda3/envs/geoseeq/lib/python3.8/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/disk/rdisk10/huaxinlei2/anaconda3/envs/geoseeq/lib/python3.8/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/disk/rdisk10/huaxinlei2/anaconda3/envs/geoseeq/lib/python3.8/site-packages/click/core.py", line 1686, in invoke
sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)
File "/disk/rdisk10/huaxinlei2/anaconda3/envs/geoseeq/lib/python3.8/site-packages/click/core.py", line 943, in make_context
self.parse_args(ctx, args)
File "/disk/rdisk10/huaxinlei2/anaconda3/envs/geoseeq/lib/python3.8/site-packages/click/core.py", line 1408, in parse_args
value, args = param.handle_parse_result(ctx, opts, args)
File "/disk/rdisk10/huaxinlei2/anaconda3/envs/geoseeq/lib/python3.8/site-packages/click/core.py", line 2400, in handle_parse_result
value = self.process_value(ctx, value)
File "/disk/rdisk10/huaxinlei2/anaconda3/envs/geoseeq/lib/python3.8/site-packages/click/core.py", line 2362, in process_value
value = self.callback(ctx, self, value)
File "/disk/rdisk10/huaxinlei2/anaconda3/envs/geoseeq/lib/python3.8/site-packages/geoseeq/cli/shared_params/common_state.py", line 81, in callback
endpoint, token = load_profile() # load default profile, if it exists
NameError: name 'load_profile' is not defined
Do you have any suggestions? Thank you.
D
David Danko
huaxinlei we just released version 0.5.4 which should fix this issue. Can you try that version?
h
huaxinlei
David Danko It works! Many thanks.