When I run
nilearn.plotting.plot_connectome()
it shows me that module 'nilearn' has no attribute 'plotting', how is it possible? I have reinstalled the nilearn library many times and ran the code on a different computer, but it didn't work.
Does anyone know the reason and how to solve this error? Thank you for any help!
Instead of
import nilearn
, you should import it asimport nilearn.plotting
.