title: AttributeError: module 'numpy' has no attribute '__version__'
body: <p>I updated my computer today, and am getting the following error message when I attempt to import pandas:</p>
  
  <pre><code>import pandas as pd        
  AttributeError: module 'numpy' has no attribute '__version__'
  </code></pre>
  
  <p>I have tried the suggestions from the following links:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/38537125/attributeerror-module-object-has-no-attribute-version">AttributeError: &#39;module&#39; object has no attribute &#39;__version__&#39;</a></li>
  <li><a href="https://stackoverflow.com/questions/38537125/attributeerror-module-object-has-no-attribute-version">AttributeError: &#39;module&#39; object has no attribute &#39;__version__&#39;</a></li>
  </ol>
  
  <p>I do not have any files names numpy.py other than the numpy package.</p>
  
  <p>I am running anaconda2 within windows 10, and have created a python 3.5 virtual environment.</p>
  
  <p>Following is the full error message:</p>
  
  <pre><code>Python 3.5.5 | packaged by conda-forge | (default, Apr  6 2018, 16:03:44) [MSC v.1900 64 bit (AMD64)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import pandas as pd
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "C:\Users\j267156\AppData\Local\Continuum\anaconda2\envs\sf35\lib\site-packages\pandas\__init__.py", line 23, in &lt;module&gt;
      from pandas.compat.numpy import *
    File "C:\Users\j267156\AppData\Local\Continuum\anaconda2\envs\sf35\lib\site-packages\pandas\compat\numpy\__init__.py", line 10, in &lt;module&gt;
      _np_version = np.__version__
  AttributeError: module 'numpy' has no attribute '__version__'
  </code></pre>
  
  <p>Edit: performing the following commands gives an error</p>
  
  <pre><code>import numpy
  print(numpy.__file__)
  AttributeError: module 'numpy' has no attribute '__file__'
  print(numpy.version.version)
  AttributeError: module 'numpy' has no attribute 'version'
  </code></pre>
  
  <p>Edit2: perfoming the following commands gives me the following errors:</p>
  
  <pre><code>import numpy as np
  np.zeros(5)
  #AttributeError: module 'numpy' has no attribute 'zeros'
  vars(np).keys()
  #dict_keys(['__name__', '__package__', '__spec__', '__loader__', '__doc__', '__path__'])
  </code></pre>
  
  <p>Edit3:  the following commands result in the following output:</p>
  
  <pre><code>import numpy as np    
  In [7]: np.__path__
      Out[7]: _NamespacePath(['C:\\Users\\j267156\\AppData\\Local\\Continuum\\anaconda2\\envs\\sf35\\lib\\site-packages\\numpy'])
  
      In [8]: np.__loader__
      Out[8]: &lt;_frozen_importlib_external._NamespaceLoader at 0x2033a3c8080&gt;
  </code></pre>