我已经安装了这些:
conda install -c conda-forge nipype
conda install -c conda-forge nitime
conda install -c conda-forge nibabel
conda install -c conda-forge nilearn
示例代码:
from nipype.interfaces import fsl
import os
import numpy as np
import nitime
from nitime.timeseries import TimeSeries
from nitime.analysis import CorrelationAnalyzer, CoherenceAnalyzer
from nitime.utils import percent_change
import nibabel as nib
import nilearn
from nilearn import datasets, input_data
from nilearn.connectome import ConnectivityMeasure
m = fsl.Merge()
m.inputs.in_files = volumes
...
m.run()
它给出了错误:
OSError:在主机上找不到命令“fslmerge”。请检查是否安装了相应的软件包。
你能帮我么?