python - ImportError: Missing required dependencies ['numpy'] -
i able run scripts using pandas , pandas scripts giving error :
traceback (most recent call last):
file "data_visulaization.py", line 5, in
import pandas pd
file "/usr/lib64/python2.7/site-packages/pandas/init.py", line 18, in
raise importerror("missing required dependencies {0}".format(missing_dependencies)) importerror: missing required dependencies ['numpy']
recently have not installed or updated new things.
does have solution this?
i uninstalled pandas , numpy , re-installed them still facing same issue.
i faced exact same error , found had created file named 'random.pyc' mistake in same directory of pycharm environment ayush@ayush-virtualbox:~/pycharmprojects/untitled$ "untitled" refers project directory. deleted , fells place. hope helps !
the reason numpy imports file called random default building own dependencies , mistook 'random.pyc' , replaced it.
Comments
Post a Comment