title: Configuring Weather Agent with API Key and Location
body: <p>Following the documentation: <a href="http://volttron.readthedocs.io/en/4.1/core_services/service_agents/weather/WeatherAgentInstallation.html#configuring-and-launching-the-weather-agent" rel="nofollow noreferrer">http://volttron.readthedocs.io/en/4.1/core_services/service_agents/weather/WeatherAgentInstallation.html#configuring-and-launching-the-weather-agent</a></p>
  
  <p>the steps worked smoothly until the: <strong>Configuring Weather Agent with API Key and Location</strong></p>
  
  <pre><code>$ nano services/core/weather/settings.py
  </code></pre>
  
  <p>first this message shown after typing the above script:</p>
  
  <pre><code> [ Directory 'services/core/weather' does not exist ]
  </code></pre>
  
  <p>even I went to the directory and typed: <code>ls</code> it shows the directory and files exist.</p>
  
  <blockquote>
    <p><strong>init</strong>.py  settings.py  weatheragent.py</p>
  </blockquote>
  
  <p>After inserting the key value from weather underground, I attempted to save the modified file (settings.py) using (ctrl+x = exit) </p>
  
  <p>first this message shown after trying to exit :</p>
  
  <blockquote>
    <p>Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?<br>
     Y Yes<br>
     N No<br>
              ^C Cancel</p>
  </blockquote>
  
  <p>I typed Y , and then</p>
  
  <blockquote>
    <p>File Name to Write: services/core/weather/settings.py</p>
  </blockquote>
  
  <p>I hit enter</p>
  
  <p>I got the error message :</p>
  
  <pre><code>[ Error writing services/core/weather/settings.py: No such file or directory ]
  </code></pre>
  
  <p>as shown in the link 
  <a href="https://i.imgur.com/31hi9E7.png" rel="nofollow noreferrer">http://i.imgur.com/31hi9E7.png</a></p>
  
  <p>Ubuntu : 16.04 LTS</p>