MNE-Connectivity的安装过程

Installation#

Dependencies#

  • mne (>=0.23)

  • numpy (>=1.14)

  • scipy (>=1.5.0 for certain operations with EEGLAB data)

  • xarray (>=0.18)

  • joblib (>=1.0.0)

  • scikit-learn (>=0.24.2)

  • pandas (>=0.23.4, optional, for generating event statistics)

  • matplotlib (optional, for using the interactive data inspector)

We require that you use Python 3.7 or higher. You may choose to install mne-connectivity via pip, or conda.

Installation via Conda#

To install MNE-Connectivity using conda in a virtual environment, simply run the following at the root of the repository:

# with python>=3.7 at least
conda create -n mne
conda activate mne
conda install -c conda-forge mne-connectivity
Copy to clipboard

Installation via Pip#

To install MNE-Connectivity including all dependencies required to use all features, simply run the following at the root of the repository:

python -m venv .venv
pip install -U mne-connectivity
Copy to clipboard

If you want to install a snapshot of the current development version, run:

pip install --user -U https://api.github.com/repos/mne-tools/mne-connectivity/zipball/main
Copy to clipboard

To check if everything worked fine, the following command should not give any error messages:

python -c 'import mne_connectivity'
Copy to clipboard

MNE-Connectivity works best with the latest stable release of MNE-Python. To ensure MNE-Python is up-to-date, run:

pip install --user -U mne
Copy to clipboard
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值