<?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: [WinError 3] The system cannot find the path specified in Esri Tutorials Questions</title>
    <link>https://community.esri.com/t5/esri-tutorials-questions/winerror-3-the-system-cannot-find-the-path/m-p/554655#M248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akpakli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the command that&amp;nbsp;you're trying to run in the command prompt? maybe there is a parameter (i.e. file location) that might contain an error and windows can't locate the file. Maybe one of the followings:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;C:\\Users\\&lt;STRONG&gt;user&lt;/STRONG&gt;\\AppData\\Local\\Temp\\tmpfesd0bnq\\p20\\live.gdb . the directory&amp;nbsp;&lt;STRONG&gt;user&lt;/STRONG&gt; in this case should be replaced by your windows user name.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Try to create a folder for the exercise, especially for the Live geodatabase. Use some location other than the ...\\AppData\\Local\\Temp folder. Before running the feed routine in the command prompt, verify that the directory exists and that you can load the feature classes in&amp;nbsp;the geodatabase in ArcGIS Pro.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Gonzalo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2020 16:01:11 GMT</pubDate>
    <dc:creator>GonzaloEspinoza-Davalos</dc:creator>
    <dc:date>2020-04-27T16:01:11Z</dc:date>
    <item>
      <title>[WinError 3] The system cannot find the path specified</title>
      <link>https://community.esri.com/t5/esri-tutorials-questions/winerror-3-the-system-cannot-find-the-path/m-p/554654#M247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have taken a course on updating real-time data with python. Toward the latter part of the course i was supposed to update an online feature service in a web map. However, i encountered a FileNotFound&amp;nbsp;error&amp;nbsp;when i ran the script in the python command prompt:&lt;/P&gt;&lt;P&gt;"FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\user\\AppData\\Local\\Temp\\tmpfesd0bnq\\p20\\live.gdb'"&lt;/P&gt;&lt;P&gt;I need help on how to fix it.&lt;/P&gt;&lt;P&gt;Attached is the script I've written.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2020 20:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-tutorials-questions/winerror-3-the-system-cannot-find-the-path/m-p/554654#M247</guid>
      <dc:creator>AkpakliEdudzi</dc:creator>
      <dc:date>2020-04-24T20:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: [WinError 3] The system cannot find the path specified</title>
      <link>https://community.esri.com/t5/esri-tutorials-questions/winerror-3-the-system-cannot-find-the-path/m-p/554655#M248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akpakli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the command that&amp;nbsp;you're trying to run in the command prompt? maybe there is a parameter (i.e. file location) that might contain an error and windows can't locate the file. Maybe one of the followings:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;C:\\Users\\&lt;STRONG&gt;user&lt;/STRONG&gt;\\AppData\\Local\\Temp\\tmpfesd0bnq\\p20\\live.gdb . the directory&amp;nbsp;&lt;STRONG&gt;user&lt;/STRONG&gt; in this case should be replaced by your windows user name.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Try to create a folder for the exercise, especially for the Live geodatabase. Use some location other than the ...\\AppData\\Local\\Temp folder. Before running the feed routine in the command prompt, verify that the directory exists and that you can load the feature classes in&amp;nbsp;the geodatabase in ArcGIS Pro.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Gonzalo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 16:01:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-tutorials-questions/winerror-3-the-system-cannot-find-the-path/m-p/554655#M248</guid>
      <dc:creator>GonzaloEspinoza-Davalos</dc:creator>
      <dc:date>2020-04-27T16:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: [WinError 3] The system cannot find the path specified</title>
      <link>https://community.esri.com/t5/esri-tutorials-questions/winerror-3-the-system-cannot-find-the-path/m-p/1255600#M753</link>
      <description>&lt;P&gt;When you specify the file name "filename.ext" while &lt;A href="http://net-informations.com/python/file/read.htm" target="_self"&gt;read&amp;nbsp; file&lt;/A&gt;, you are providing the open() function with a relative path. This means that the file you want to read is located in the current working directory.&lt;/P&gt;&lt;P&gt;file = open('filename.ext') //relative path&lt;/P&gt;&lt;P&gt;In the above code, you are not giving the full path to a file to the open() function, just its name - a relative path. The error “FileNotFoundError: [Errno 2] No such file or directory” is telling you that there is no file of that name in the working directory. So, try using the exact, or absolute path.&lt;/P&gt;&lt;P&gt;file = open(r'C:\path\to\your\filename.ext') //absolute path&lt;/P&gt;&lt;P&gt;In the above code, all of the information needed to locate the file is contained in the path string - absolute path.&lt;/P&gt;&lt;P&gt;If the full path to the file is not provided, the python file path is interpreted relative to the current working directory. This is the directory from which the program was started. For this to work, the directory containing the python executable must be in the PATH environment variable, which contains directories automatically searched for executables when a command is entered. To access a file in a different directory, you must either specify a relative path between the files or use an absolute path for one of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 05:56:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-tutorials-questions/winerror-3-the-system-cannot-find-the-path/m-p/1255600#M753</guid>
      <dc:creator>carlhyde</dc:creator>
      <dc:date>2023-02-07T05:56:25Z</dc:date>
    </item>
  </channel>
</rss>

