JinmiaoChenLab / SEDR

MIT License
43 stars 9 forks source link

AttributeError #4

Closed skim245 closed 12 months ago

skim245 commented 1 year ago

Dear authors,

I've installed SEDR == 1.0.0 and get an error message below.

AttributeError: module 'SEDR' has no attribute 'graph_construction'

any suggestions?

Thank you in advance!

skim245 commented 1 year ago

@Xuhang01 whilst trying to re-install SEDR, I get ImportError `ImportError: cannot import name 'res_search_fixed_clus' from 'SEDR.clustering_func' (/Users/envs/SEDR_Env2/lib/python3.8/site-packages/SEDR-1.0.0-py3.8.egg/SEDR/clustering_func.py)

I've used Anaconda installation method suggested in the link https://sedr.readthedocs.io/en/latest/Installation.html

Xuhang01 commented 12 months ago

@skim245 Hi, I have solved this error: `ImportError: cannot import name 'res_search_fixed_clus' from 'SEDR.clustering_func'. This is caused by an imcomplete update. I have revised the code accordingly. Please try again to see if it works for you.

But I have no idea about this one: AttributeError: module 'SEDR' has no attribute 'graph_construction'. Could you provide more message? Such as which command or code generate this error.

skim245 commented 12 months ago

@Xuhang01 updates in the code solved all the issues! both of the errors were due to incomplete installation of SEDR.