title: How to extract countries from a text?
body: <p>I use Python 3 (I also have Python 2 installed) and I want to extract countries or cities from a short text.
  For example, <code>text = "I live in Spain"</code> or <code>text = "United States (New York), United Kingdom (London)"</code>.</p>
  
  <p>The answer for countries:</p>
  
  <ol>
  <li>Spain</li>
  <li>[United States, United Kingdom]</li>
  </ol>
  
  <p>I tried to install <code>geography</code> but I am unable to run <code>pip install geography</code>. I get this error:</p>
  
  <blockquote>
    <p>Collecting geography   Could not find a version that satisfies the
    requirement geography (from versions: ) No matching distribution found
    for geography</p>
  </blockquote>
  
  <p>It looks like <code>geography</code> only works with Python 2. </p>
  
  <p>I also have <code>geopandas</code>, but I don't know how to extract the required info from text using geopandas.</p>