Skip to content

PyYAML Breaking Dependency #20

@hiro-v

Description

@hiro-v

At mlchain 0.1.8rc1, I have encountered the following bug during the initialization phase with mlchain. Please help resolve this. Thank you
This link should be helpful I guess: Stackoverflow
face_detection_1 | Traceback (most recent call last): face_detection_1 | File "/usr/local/bin/mlchain", line 11, in <module> face_detection_1 | sys.exit(main()) face_detection_1 | File "/usr/local/lib/python3.7/dist-packages/mlchain/cli/main.py", line 50, in main face_detection_1 | cli.main(args=sys.argv[1:], prog_name="python -m mlchain" if as_module else None) face_detection_1 | File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 782, in main face_detection_1 | rv = self.invoke(ctx) face_detection_1 | File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1259, in invoke face_detection_1 | return _process_result(sub_ctx.command.invoke(sub_ctx)) face_detection_1 | File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1066, in invoke face_detection_1 | return ctx.invoke(self.callback, **ctx.params) face_detection_1 | File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 610, in invoke face_detection_1 | return callback(*args, **kwargs) face_detection_1 | File "/usr/local/lib/python3.7/dist-packages/mlchain/cli/run.py", line 104, in run_command face_detection_1 | config = mlconfig.load_file(config) face_detection_1 | File "/usr/local/lib/python3.7/dist-packages/mlchain/config.py", line 152, in load_file face_detection_1 | return load_yaml(path) face_detection_1 | File "/usr/local/lib/python3.7/dist-packages/mlchain/config.py", line 144, in load_yaml face_detection_1 | return yaml.load(f, Loader=yaml.FullLoader) face_detection_1 | AttributeError: module 'yaml' has no attribute 'FullLoader'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions