python - ImportError: cannot import name 'show_config' -


this question has answer here:

i don't know why error installed correctly libraries:

traceback (most recent call last):  file "d:/doc/diagnostic-technology/browser.py", line 4, in <module>   import scipy.stats stat  file "d:\doc\diagnostic-technology\scipy\__init__.py", line 61, in <module>   numpy import show_config show_numpy_config  importerror: cannot import name 'show_config' 

packages wich imported :

import pandas pd import numpy np import scipy.stats stat import math math 

help please!

i have same problem , solved way

  1. find file named "numpy.py" in script directory , change name.

  2. delete file named "numpy.pyc" or other file generated while compiling code.


Comments