<?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>question Listing S3 Bucket files using python in NiFi ExecuteScript Processor in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Listing-S3-Bucket-files-using-python-in-NiFi-ExecuteScript/m-p/231803#M193646</link>
    <description>&lt;P&gt;Hi, Since we can mention only one prefix in ListS3 processor I am trying to access AWS S3 using Python boto3 in NiFi ExecuteScript processor. If this succeeds, I can send a list of folder paths to the python script to get files from various folders under S3 bucket. I provided the path of boto3-1.6.0.tar.gz in ModuleDirectory but I get the below error. &lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641" target="_blank"&gt;@Matt Burgess &lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363" target="_blank"&gt;@Bryan Bende&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/536/mfoley.html" nodeid="536" target="_blank"&gt;@Matt Foley&lt;/A&gt; Please let me know how to fix this and achieve use case. &lt;/P&gt;&lt;P&gt;ExecuteScript Processor :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="64411-executescript-python-s3.jpg" style="width: 804px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14910i719607EC9C8E64A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="64411-executescript-python-s3.jpg" alt="64411-executescript-python-s3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;PRE&gt;ExecuteScript[id=d6cf51e8-0161-1000-32de-7748af781842] Failed to process session due to org.apache.nifi.processor.exception.ProcessException: javax.script.ScriptException: ImportError: No module named boto3 in &amp;lt;script&amp;gt; at line number 1: javax.script.ScriptException: ImportError: No module named boto3 in &amp;lt;script&amp;gt; at line number 1&lt;/PRE&gt;</description>
    <pubDate>Sun, 18 Aug 2019 00:34:04 GMT</pubDate>
    <dc:creator>vinaychandra_t</dc:creator>
    <dc:date>2019-08-18T00:34:04Z</dc:date>
  </channel>
</rss>

