这是我的代码:
from neurosynth import Dataset
from neurosynth import meta, decode, network
我一直收到错误ImportError:无法导入名称's'。
我尝试过更新SciPy,pandas和statsmodels,但我仍然遇到错误。我认为这个问题与我如何安装anaconda和pip有关。
以下是追踪电话:
ImportError Traceback (most recent call last)
<ipython-input-1-ae43d8021cee> in <module>()
1 from neurosynth import Dataset
2 from neurosynth import meta, decode, network
/anaconda3/lib/python3.6/site-packages/neurosynth/__init__.py in <module>()
9 from .base.dataset import Dataset
10 from .base.mask import Masker
11 from .analysis.cluster import Clusterable
12 from .analysis.meta import MetaAnalysis
13 from .analysis.decode import Decoder
/anaconda3/lib/python3.6/site-packages/neurosynth/analysis/cluster.py in <module>()
8 from os import makedirs
9 from nibabel import nifti1
10 from neurosynth.analysis import meta
11
12
/anaconda3/lib/python3.6/site-packages/neurosynth/analysis/meta.py in <module>()
5 from scipy.stats import norm
6 from neurosynth.base import imageutils
7 from neurosynth.analysis import stats
8 from os.path import join, exists
9 from os import makedirs
/anaconda3/lib/python3.6/site-packages/neurosynth/analysis/stats.py in <module>()
4 import numpy as np
5 from scipy import special
6 from scipy.stats import ss
7
8
ImportError: cannot import name 'ss'