ImportError:Spyder IDE中没有名为base的模块

时间:2015-08-07 19:02:03

标签: python spyder

我正在使用Spyder IDE。我正在运行一个脚本,一切都很好。我再次运行它并出现错误。在我的脚本中,我使用以下包:

from __future__ import division
import numpy as np
import matplotlib.pyplot as plt
import scipy.optimize
import cProfile
from sympy import solve,exp
from sympy.abc import y
from PIL import Image
import dicom
from bisect import bisect_left,bisect_right
import math
import os
import seaborn as sns
import scipy
import pandas

我不知道如果与包有任何关系,但我无法修复它。 这是追溯:

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

0 个答案:

没有答案