Items with no label
3341 Discussions

ModuleNotFoundError while submitting a job

CBaja
Beginner
630 Views

Below is the error output.

 

Traceback (most recent call last):

 File "trainn.py", line 5, in <module>

  from keras.preprocessing.image import img_to_array

ModuleNotFoundError: No module named 'keras'

/var/spool/torque/mom_priv/epilogue.parallel: line 12: /var/spool/torque/mom_priv/epilogue.d//95-nvdir.epilogue: Permission denied

 

I have already installed keras using pip3 command in my jupyter notebook. Also the job I'm submitting works properly in Jupyter notebook but when I submit it as a job, such errors occur.

 

How can I resolve this issue?

0 Kudos
0 Replies
Reply