<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: No module named 'keras' in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/No-module-named-keras/m-p/593669#M18</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thanks for the confirmation. We are closing this thread.&lt;P&gt;&amp;nbsp;&lt;/P&gt;Feel free to open another thread for any further queries.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Anju</description>
    <pubDate>Wed, 02 May 2018 05:07:21 GMT</pubDate>
    <dc:creator>idata</dc:creator>
    <dc:date>2018-05-02T05:07:21Z</dc:date>
    <item>
      <title>No module named 'keras'</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/No-module-named-keras/m-p/593666#M15</link>
      <description>&lt;P&gt;I'm trying to run qsub&lt;B&gt; &lt;/B&gt;myjob but I'am getting an error. Here what I've done so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. conda create -n myenv intel python=3&lt;/P&gt;&lt;P&gt;2. source activate myenv&lt;/P&gt;&lt;P&gt;3. installed libraries&lt;/P&gt;&lt;P&gt;     pip install --ignore-installed --upgrade keras&lt;/P&gt;&lt;P&gt;     pip install --ignore-installed --upgrade tensorflow&lt;/P&gt;&lt;P&gt;4. created myjob file with this lines inside:&lt;/P&gt;&lt;P&gt;     # PBS -l nodes=1&lt;/P&gt;&lt;P&gt;     cd $PBS_O_WORKDIR&lt;/P&gt;&lt;P&gt;     echo Starting calculation&lt;/P&gt;&lt;P&gt;     python &lt;A href="http://NASNet.py"&gt;NASNet.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;     echo End of calculation&lt;/P&gt;&lt;P&gt;5. Executed qsub myjob&lt;/P&gt;&lt;P&gt;6. I'm getting this error:&lt;/P&gt;&lt;P&gt;    from keras.preprocessing.image import ImageDataGenerator&lt;/P&gt;&lt;P&gt;ModuleNotFoundError: No module named 'keras'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a test using &lt;B&gt;python &lt;A href="http://NASNet.py"&gt;NASNet.py&lt;/A&gt;&lt;/B&gt; in the terminal and it worked perfectly. Why is it not recognizing keras when I'am using qsub?&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 16:38:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/No-module-named-keras/m-p/593666#M15</guid>
      <dc:creator>virtualdvid</dc:creator>
      <dc:date>2018-05-01T16:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: No module named 'keras'</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/No-module-named-keras/m-p/593667#M16</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thank you for the question.&lt;P&gt;&amp;nbsp;&lt;/P&gt;Kindly include the command to activate you environment (&lt;I&gt;source activate myenv&lt;/I&gt;) as part of the script. i.e please modify the myjobfile as below :&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;I&gt;# PBS -l nodes=1&amp;nbsp;cd $PBS_O_WORKDIR&amp;nbsp;echo Starting calculation&amp;nbsp;&lt;B&gt;source activate myenv&lt;/B&gt;&amp;nbsp;python &lt;A href="http://NASNet.py"&gt;NASNet.py&lt;/A&gt;&amp;nbsp;echo End of calculation&amp;nbsp;&amp;nbsp;Please let us know if the answer provided helped.&amp;nbsp;&amp;nbsp;Regards,&amp;nbsp;Anju&lt;/I&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 04:06:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/No-module-named-keras/m-p/593667#M16</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-05-02T04:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: No module named 'keras'</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/No-module-named-keras/m-p/593668#M17</link>
      <description>&lt;P&gt;Thank you! It worked perfectly!&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 04:16:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/No-module-named-keras/m-p/593668#M17</guid>
      <dc:creator>virtualdvid</dc:creator>
      <dc:date>2018-05-02T04:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: No module named 'keras'</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/No-module-named-keras/m-p/593669#M18</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thanks for the confirmation. We are closing this thread.&lt;P&gt;&amp;nbsp;&lt;/P&gt;Feel free to open another thread for any further queries.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Anju</description>
      <pubDate>Wed, 02 May 2018 05:07:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/No-module-named-keras/m-p/593669#M18</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-05-02T05:07:21Z</dc:date>
    </item>
  </channel>
</rss>

