title: Can not import pipeline from transformers
body: <p>I have installed <code>pytorch</code> with <code>conda</code> and <code>transformers</code> with <code>pip</code>.</p>
  
  <p>I can <code>import transformers</code> without a problem but when I try to <code>import pipeline from transformers</code> I get an exception:</p>
  
  <pre><code>from transformers import pipeline
  ---------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-4-69a9fd07ccac&gt; in &lt;module&gt;
  ----&gt; 1 from transformers import pipeline
  
  ImportError: cannot import name 'pipeline' from 'transformers' (C:\Users\Alienware\Anaconda3\envs\tf2\lib\site-packages\transformers\__init__.py)
  </code></pre>
  
  <p>This is a view of the directory where it searches for the <strong>init</strong>.py file:</p>
  
  <p><a href="https://i.stack.imgur.com/cDIK7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cDIK7.png" alt="enter image description here"></a></p>
  
  <p>What is causing the problem and how can I resolve it?</p>