python - ImportError: No module named base in Spyder IDE -


i using spyder ide. running script once , ok. run second time , appears error. in script use following packages:

from __future__ import division import numpy np import matplotlib.pyplot plt import scipy.optimize import cprofile sympy import solve,exp sympy.abc import y pil import image import dicom bisect import bisect_left,bisect_right import math import os import seaborn sns import scipy import pandas 

i don't know if has packages cannot fix it. here traceback:

traceback (most recent call last):  file "<ipython-input-5-a431862ce876>", line 1, in <module> runfile('/users/dkoimt0/spyder/swse.py', wdir='/users/dkoimt0/spyder')  file "/applications/spyder-py2.app/contents/resources/lib/python2.7/spyderlib/widgets/externalshell /sitecusto  mize.py", line 588, in runfile__umr__.run(verbose=verbose)   file "/applications/spyder-   py2.app/contents/resources/lib/python2.7/spyderlib/widgets/externalshell/sitecustomize.py", line 538, in run modpath = getattr(module, '__file__', none)  file "/users/dkoimt0/library/enthought/canopy_64bit/user/lib/python2.7/site-packages/seaborn/external/six.py", line 117, in __getattr__ value = getattr(_module, attr)  file "email/__init__.pyc", line 79, in __getattr__  importerror: no module named base 


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -