title: How to import pandas for python3?
body: <p>I have a python script that uses pandas library. But when I try to install pandas using:</p>
  
  <pre><code>pip install pandas
  </code></pre>
  
  <p>It says:</p>
  
  <pre><code>Installing collected packages: pytz, six, python-dateutil, numpy, pandas
  Successfully installed numpy-1.14.5 pandas-0.23.3 python-dateutil-2.7.3 pytz-2018.5 six-1.11.0
  You are using pip version 8.1.1, however version 10.0.1 is available.
  You should consider upgrading via the 'pip install --upgrade pip' command
  </code></pre>
  
  <p>When I try to run my script again, it tells again that no module named pandas.</p>
  
  <pre><code>Traceback (most recent call last):
    File "test.py", line 6, in &lt;module&gt;
      import pandas as pd
  ImportError: No module named 'pandas'
  </code></pre>
  
  <p>After using the suggestion, I tried again pip install pandas but i get an error<p> 
  <code>Traceback (most recent call last): 
     File "/usr/bin/pip", line 9, in &lt;module&gt; 
       from pip import main 
  ImportError: cannot import name main</code> </p>