# ImportError: cannot import name	'GeneralizationAcrossTime'

**URL:** <https://mne.discourse.group/t/importerror-cannot-import-name-generalizationacrosstime/1930>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [August 23, 2019, 12:22pm UTC](https://mne.discourse.group/t/importerror-cannot-import-name-generalizationacrosstime/1930 "2019-08-23T12:22:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [August 23, 2019, 12:22pm UTC](https://mne.discourse.group/t/importerror-cannot-import-name-generalizationacrosstime/1930/1 "2019-08-23T12:22:18Z")

</div>

External Email - Use Caution

Dears,

I try to run the decoding code examples from links below, both of links import the ?GeneralizationAcrossTime? function, it gives me an error when I run it, could you give any suggestion?

[https://mne.tools/0.14/auto\_examples/decoding/plot\_decoding\_time\_generalization\_conditions.html](https://mne.tools/0.14/auto_examples/decoding/plot_decoding_time_generalization_conditions.html)  
[https://mne.tools/0.11/auto\_examples/decoding/plot\_decoding\_time\_generalization.html](https://mne.tools/0.11/auto_examples/decoding/plot_decoding_time_generalization.html)

My system environment is shown below:

mne.sys\_info()  
Backend MacOSX is interactive backend. Turning interactive mode on.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [August 23, 2019, 1:22pm UTC](https://mne.discourse.group/t/importerror-cannot-import-name-generalizationacrosstime/1930/2 "2019-08-23T13:22:28Z")

</div>

External Email - Use Caution

you are using documentation from mne version 0.14 and you are using mne  
development version.

read this doc version: [https://mne.tools/dev/index.html](https://mne.tools/dev/index.html)

HTH  
Alex

> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution
> 
> Dears,
> 
> I try to run the decoding code examples from links below, both of links  
> import the ?GeneralizationAcrossTime? function, it gives me an error when  
> I run it, could you give any suggestion?
> 
> [https://mne.tools/0.14/auto\_examples/decoding/plot\_decoding\_time\_generalization\_conditions.html](https://mne.tools/0.14/auto_examples/decoding/plot_decoding_time_generalization_conditions.html)
> 
> [https://mne.tools/0.11/auto\_examples/decoding/plot\_decoding\_time\_generalization.html](https://mne.tools/0.11/auto_examples/decoding/plot_decoding_time_generalization.html)
> 
> My system environment is shown below:
> 
> mne.sys\_info()  
> Backend MacOSX is interactive backend. Turning interactive mode on.
> 
> \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> WARNING: Imported VTK version (8.1) does not match the one used  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to build the TVTK classes (8.2). This may cause problems.  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please rebuild TVTK.
> 
> \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> Platform: Darwin-18.7.0-x86\_64-i386-64bit  
> Python: 3.6.8 |Anaconda, Inc.| (default, Dec 29 2018, 19:04:46)  
> [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE\_401/final)]  
> Executable: /anaconda3/envs/mne/bin/python  
> CPU: i386: 12 cores  
> Memory: 32.0 GB  
> mne: 0.19.dev0  
> numpy: 1.16.4 {blas=mkl\_rt, lapack=mkl\_rt}  
> scipy: 1.2.1  
> matplotlib: 3.1.0 {backend=MacOSX}  
> sklearn: 0.21.2  
> nibabel: 2.4.0  
> mayavi: 4.6.2 {qt\_api=pyqt5, PyQt5=5.12.1}  
> cupy: Not found  
> pandas: 0.24.2  
> dipy: 0.16.0
> 
> Thanks!
> 
> Best  
> bo
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Mne\_analysis mailing list  
> Mne\_analysis at nmr.mgh.harvard.edu  
> [https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne\_analysis](https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis)

-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20190823/1ea70c48/attachment-0001.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190823/1ea70c48/attachment-0001.html)  
-------------- next part --------------  
A non-text attachment was scrubbed...  
Name: PastedGraphic-1.png  
Type: image/png  
Size: 156788 bytes  
Desc: not available  
Url : [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20190823/1ea70c48/attachment-0001.png](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190823/1ea70c48/attachment-0001.png)
