title: Running into Attribute Errors while trying to configure PyWikiBot
body: <p>I am currently following the <a href="https://www.wikidata.org/wiki/Wikidata:Pywikibot_-_Python_3_Tutorial/Data_Harvest" rel="nofollow noreferrer">Python 3 Tutorial for Pywikibot</a> and continue to experience attribute errors while running the included code from the tutorial as seen below.</p>
  
  <pre><code>import pywikibot
  
  site = pywikibot.Site("en", "wikipedia")
  page = pywikibot.Page(site, "Douglas Adams")
  item = pywikibot.ItemPage.fromPage(page)
  
  print(item)
  </code></pre>
  
  <p>While this is not the final step to achieve my goals, it has become a roadblock in my progression. From this code I should receive an output in the form of an <code>ItemPage-object</code> however I only receive the following error:</p>
  
  <pre><code>site = pywikibot.Site("en", "wikipedia")  # any site will work, this is just an example
  AttributeError: module 'pywikibot' has no attribute 'Site'
  </code></pre>
  
  <p>I am quite new to programming and have only just scratched the surface, but I have taken some time to research attribute errors and how they may appear, as well as the fundamentals behind modules. At this point, however, I am pretty fried. Is it possible that my file/folder organization is causing this problem, or is there something more obvious that I am missing?</p>
  
  <p>I am also wondering if I would be better off simply using a Wikipedia API to pull information and resources from Wikipedia/Wikidata for my project.</p>
  
  <p>Thank you, please let me know if you need any more information.</p>