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

Using Topographica's GUI on Ubuntu #509

Closed ceball closed 9 years ago

ceball commented 11 years ago

On Ubuntu 12.04, I followed the instructions "Cloning Topographica" and then "Running Topographica" from the readme displayed at https://github.com/ioam/topographica. When I ran "./topographica -g" I got "ImportError: cannot import name ImageTk" from paramtk/init.py. I looked at http://ioam.github.io/paramtk/, and that just about reminded me I needed to install python-imaging-tk...

I also checked topographica.org for instructions about how to get a GUI, but couldn't see anything. Maybe I missed it?

The tutorials depend on the GUI, so it seems like it would be worthwhile having instructions somewhere about what's needed to get the GUI.

jbednar commented 11 years ago

Yes, we have a recipe for making things work on Ubuntu, but it's been waiting on Wiktor to put up the new documentation/website. He's finished it and submitted his project, so presumably it should appear online any day now. Wiktor?

Jim

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.

pintohutch commented 11 years ago

Hi, I had this same kind of issue: There's a closed issue that I posted a few weeks back about a fresh Ubuntu install. These commands gave me a flawless and functional Topographica:

1) sudo apt-get update 2) sudo apt-get install python-pip python-dev python-tk python-imaging-tk 3) sudo apt-get install ipython python-gmpy python-matplotlib python-scipy 4) sudo pip install topographica

Make sure you have all of those packages and it should work

ceball commented 9 years ago

After the recent minor releases on pypi (topographica 0.9.8-1, imagen 1.0.1, paramtk 0.8.1), the recipe above works for me on 64-bit Ubuntu 12.04.5 LTS.