Darth Vader
From the Dark Side
Another of my long shots as I believe that there are some knowledgeable folks on pfm.
I have installed keras and tried to verify it is working. However the command python <file path> test.py fails to complete with an 'unable to load module keras at line x'. Whether I use the full path name or execute from within the keras directory I get the same result.
Now if I invoke python (version 3.7) from within the keras directory and paste the code from test.py it works. So I know keras works and I can monitor the GPU stats to see how hard the training is working my GTX 1080.
So it has to be something to do with the environment variables as python doesn't seem to know the path to keras.
Anyone have a clue? I can carry on working by pasting code into python whilst sitting in the keras directory but its not very sophisticated is it? The answer is probably right under my nose............
BTW I don't get this problem with tensorflow - at last!
Many thanks in advance,
DV
I have installed keras and tried to verify it is working. However the command python <file path> test.py fails to complete with an 'unable to load module keras at line x'. Whether I use the full path name or execute from within the keras directory I get the same result.
Now if I invoke python (version 3.7) from within the keras directory and paste the code from test.py it works. So I know keras works and I can monitor the GPU stats to see how hard the training is working my GTX 1080.
So it has to be something to do with the environment variables as python doesn't seem to know the path to keras.
Anyone have a clue? I can carry on working by pasting code into python whilst sitting in the keras directory but its not very sophisticated is it? The answer is probably right under my nose............
BTW I don't get this problem with tensorflow - at last!
Many thanks in advance,
DV