I have the .py file in Eclipse
#@PydevCodeAnalysisIgnore
from ffnet import ffnet, mlgraph
topology = mlgraph( (2, 3, 1) )
nn = ffnet(topology)
I select RunAs / Python Run
I get the error
from ffnet import ffnet, mlgraph
ImportError: No module named ffnet
In the folder Python26\lib\site-packages I see
ffnet-0.6.2-py2.6.egg-info
also a folder ffnet
in that folder there is a folder Examples
If I click one of the examples pyrhon.exe opens and runs it OK.
Is there enough in the above for you to tell me how to procede?
Thanks in advance for any help at all
from pprint import pprint as pp
pp(sys.path)
The output included:
'E:\\Program Files\\Python26',
'E:\\Program Files\\Python26\\DLLs',
'E:\\Program Files\\Python26\\lib',
'E:\\Program Files\\Python26\\lib\\lib-tk',
'E:\\Program Files\\Python26\\lib\\plat-win',
'E:\\Program Files\\Python26\\lib\\site-packages',
Python is at
E:\Python26
but other things like java are at E:\Program Files
Showhow it is looking in the wrong place and I don't know how to fix it.
I checked the registry. The entries all look good there.
Thanks
" Cal Who" <CalWho...@roadrunner.com> wrote in message
news:hnb339$g2g$1...@news.eternal-september.org...
" Cal Who" <CalWho...@roadrunner.com> wrote in message
news:hnb339$g2g$1...@news.eternal-september.org...
>
>