Skip to content

AttributeError: module 'magic' has no attribute 'MAGIC' #71

@trianaptx

Description

@trianaptx

Hi,Thanks for the good tools! I have a question about a bug I'm dealing with.
When 'python-impute' is installed, I get one kind of error:
Starting load data...
Traceback (most recent call last):
File "/mnt/datadisk/lianghaixin/heart/scFEA/src/scFEA.py", line 370, in
main(args)
File "/mnt/datadisk/lianghaixin/heart/scFEA/src/scFEA.py", line 104, in main
magic_operator = magic.MAGIC()
^^^^^^^^^^^
AttributeError: module 'magic' has no attribute 'MAGIC'. Did you mean: 'Magic'?

and when I uninstall it, I get a different error

Starting load data...
Traceback (most recent call last):
File "/mnt/datadisk/lianghaixin/heart/scFEA/src/scFEA.py", line 370, in
main(args)
File "/mnt/datadisk/lianghaixin/heart/scFEA/src/scFEA.py", line 104, in main
magic_operator = magic.MAGIC()
^^^^^^^^^^^
AttributeError: module 'magic' has no attribute 'MAGIC'

what should I do to deal with it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions