<?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 File Not Found Error while reading pickle file in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/file-not-found-error-while-reading-pickle-file/m-p/76699#M3203</link>
    <description>&lt;P&gt;Hello, there&lt;/P&gt;&lt;P&gt;I have a pickle file uploaded in a mounted location in databricks ( /dbfs/mnt/blob/test.pkl). I am trying to read this pickle file using the below python snippet&lt;/P&gt;&lt;P&gt;with open(path + "test.pkl", "rb") as f:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bands = pickle.load(f)&lt;BR /&gt;&lt;BR /&gt;But it throws FileNotFoundError: [Errno 2] No such file or directory: ' /dbfs/mnt/blob/test.pkl'. But the file is present in that location. I have tried listing using dbutils.fs.ls as well and file is present. Can anyone help me with this issue.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2024 02:12:42 GMT</pubDate>
    <dc:creator>divyasri1504</dc:creator>
    <dc:date>2024-07-04T02:12:42Z</dc:date>
    <item>
      <title>File Not Found Error while reading pickle file</title>
      <link>https://community.databricks.com/t5/get-started-discussions/file-not-found-error-while-reading-pickle-file/m-p/76699#M3203</link>
      <description>&lt;P&gt;Hello, there&lt;/P&gt;&lt;P&gt;I have a pickle file uploaded in a mounted location in databricks ( /dbfs/mnt/blob/test.pkl). I am trying to read this pickle file using the below python snippet&lt;/P&gt;&lt;P&gt;with open(path + "test.pkl", "rb") as f:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bands = pickle.load(f)&lt;BR /&gt;&lt;BR /&gt;But it throws FileNotFoundError: [Errno 2] No such file or directory: ' /dbfs/mnt/blob/test.pkl'. But the file is present in that location. I have tried listing using dbutils.fs.ls as well and file is present. Can anyone help me with this issue.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 02:12:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/file-not-found-error-while-reading-pickle-file/m-p/76699#M3203</guid>
      <dc:creator>divyasri1504</dc:creator>
      <dc:date>2024-07-04T02:12:42Z</dc:date>
    </item>
  </channel>
</rss>

