ioam / topographica

A general-purpose neural simulator focusing on topographic maps.
topographica.org
BSD 3-Clause "New" or "Revised" License
53 stars 32 forks source link

Tk required for unit tests #587

Open jlstevens opened 10 years ago

jlstevens commented 10 years ago

On a clean Linux Mint 17 system, I could not run unit tests as follows:

./topographica -t unit

As this would fail when running save_snapshot('test.typ') in tests/unit/testFilename.txt:

ImportError: No module named _tkinter, please install the python-tk package

As suggested by the error message, this was easily fixed this with:

`sudo apt-get install python-tk

But python-tk should not be a dependency for running unit tests.