I have a problem with importing the 'numpy' package in python. I'm currently using python3.4.5 in anaconda3. But when I try to run the following code,
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
I get the following error message.
Traceback (most recent call last):
File "D:/SourceCodes/PycharmSources/trial/titanic.py", line 1, in <module>
import matplotlib.pyplot as plt
File "C:\Anaconda3\envs\py34\lib\site-packages\matplotlib\__init__.py", line 122, in <module>
from matplotlib.cbook import is_string_like, mplDeprecation, dedent, get_label
File "C:\Anaconda3\envs\py34\lib\site-packages\matplotlib\cbook.py", line 32, in <module>
import numpy as np
ImportError: No module named 'numpy'
Well, I've tried uninstalling/reinstalling the numpy and pandas libraries using both the
pip uninstall numpy / pip insatll numpy
conda install -f numpy
commands, but nothing seems to solve my problem.
Thank you in advance.