Try to Install MNE-python on Google Colab

External Email - Use Caution

Dear MNE contributors,
Hi ! Currently I am trying to install MNE-python using Google Colab (cause lack of computational resource);
here is the code I used and error message:

!wget -c https://repo.anaconda.com/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh
!chmod +x Miniconda3-4.5.4-Linux-x86_64.sh
!bash ./Miniconda3-4.5.4-Linux-x86_64.sh -b -f -p /usr/local
!curl --remote-name https://raw.githubusercontent.com/mne-tools/mne-python/master/environment.yml
!conda env update --file environment.yml

I got an error message like this:
Installing collected packages: mayavi Running setup.py install for mayavi ... error ERROR: Command "/usr/local/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-b81acyrb/mayavi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-n44fojax/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-b81acyrb/mayavi/

Begin with a background in medicine, I am really helpless to this issue. Could anyone help me with this. Thanks a lot!

Thanks again and Best wishes!
dzang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190723/90822783/attachment.html

External Email - Use Caution

Dear dzang,

3D will not work in Collab AFAIK. So you can just install mne with pip

!pip install mne

and it should work.

HTH
Alex