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

There are some bugs when I open the source of Topographica in eclipse(pydev) #583

Closed youngjt closed 10 years ago

youngjt commented 10 years ago

I have runned the GitHub version of topographica successfully,but when I add the source code of topographica to eclipse,there are some errors, and the errors info are : Traceback (most recent call last): File "/home/yangjiangtao/workspace/topo_local/topographica", line 9, in import sys, topo File "/home/yangjiangtao/workspace/topo_local/topo/init.py", line 56, in import imagen File "/usr/local/lib/python2.7/dist-packages/imagen/init.py", line 32, in from .patterngenerator import Constant, PatternGenerator File "/usr/local/lib/python2.7/dist-packages/imagen/patterngenerator.py", line 20, in from dataviews import SheetView File "/usr/local/lib/python2.7/dist-packages/imagen/../dataviews/dataviews.py", line 6, in from .ndmapping import Dimension, NdMapping ValueError: Attempted relative import in non-package

Though,how can I solve this problem?