How to import Pandas in Anaconda ( traceback on import )
<p>I am having trouble importing libraries into <strong><code>Anaconda</code></strong>. If I try importing <strong><code>pandas</code></strong> using</p>

<pre><code>from pandas import *
</code></pre>

<p>I get the following error:</p>

<pre><code>Traceback (most recent call last):
File "C:/Users/XXX/Desktop/Python/testprogram.py", line 1, in &lt;module&gt;
from numpy import *
File "C:\Users\XXX\Anaconda2\lib\site-packages\numpy\__init__.py", line 200, in &lt;module&gt;
Traceback (most recent call last):
File "C:/Users/XXX/Desktop/Python/testprogram.py", line 1, in &lt;module&gt;
from numpy import *
File "C:\Users\XXX\Anaconda2\lib\site-packages\numpy\__init__.py", line 200, in &lt;module&gt;
from . import add_newdocs
File "C:\Users\XXX\Anaconda2\lib\site-packages\numpy\add_newdocs.py", line 13, in &lt;module&gt;
from numpy.lib import add_newdoc
File "C:\Users\XXX\Anaconda2\lib\site-packages\numpy\lib\__init__.py", line 8, in &lt;module&gt;
from .type_check import *
File "C:\Users\XXX\Anaconda2\lib\site-packages\numpy\lib\type_check.py", line 11, in &lt;module&gt;
import numpy.core.numeric as _nx
File "C:\Users\XXX\Anaconda2\lib\site-packages\numpy\core\__init__.py", line 57, in &lt;module&gt;
from numpy.testing import Tester
File "C:\Users\XXX\Anaconda2\lib\site-packages\numpy\testing\__init__.py", line 14, in &lt;module&gt;
from .utils import *
File "C:\Users\XXX\Anaconda2\lib\site-packages\numpy\testing\utils.py", line 15, in &lt;module&gt;
from tempfile import mkdtemp
File "C:\Users\XXX\Anaconda2\lib\tempfile.py", line 35, in &lt;module&gt;
from random import Random as _Random
File "C:\Users\XXX\Desktop\Python\random.py", line 1, in &lt;module&gt;
from matplotlib import *
File "C:\Users\XXX\Anaconda2\lib\site-packages\matplotlib\__init__.py", line 122, in &lt;module&gt;
from matplotlib.cbook import is_string_like, mplDeprecation, dedent, get_label
File "C:\Users\XXX\Anaconda2\lib\site-packages\matplotlib\cbook.py", line 34, in &lt;module&gt;
import numpy.ma as ma
File "C:\Users\XXX\Anaconda2\lib\site-packages\numpy\ma\__init__.py", line 44, in &lt;module&gt;
from . import core
File "C:\Users\XXX\Anaconda2\lib\site-packages\numpy\ma\core.py", line 30, in &lt;module&gt;
import numpy.core.umath as umath
AttributeError: 'module' object has no attribute 'core'
</code></pre>

<p>I get a similar error when importing <strong><code>numpy</code></strong>. I read on one of the forums to update the packages using </p>

<pre><code>conda update &lt;package_name&gt;
</code></pre>

<p>but it says all requested packages already installed.</p>