spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.32k stars 1.61k forks source link

ModuleNotFoundError: No module named 'spyder.widgets.externalshell' #4868

Closed pedvide closed 7 years ago

pedvide commented 7 years ago

I updated to Spyder 3.2.0 and when I start it this message appears:

module = _import_module_from_path(module_name, plugin_path)
module = spec.loader.load_module(module_name)
File "<frozen importlib._bootstrap_external>", line 399, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 823, in load_module  
File "<frozen importlib._bootstrap_external>", line 682, in load_module
File "<frozen importlib._bootstrap>", line 248, in _load_module_shim
File "<frozen importlib._bootstrap>", line 608, in _exec
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  from .memoryprofiler import MemoryProfiler
  from .widgets.memoryprofiler import (MemoryProfilerWidget,
  from spyder.widgets.externalshell import baseshell
ModuleNotFoundError: No module named 'spyder.widgets.externalshell'

Spyder seems to work nonetheless. I'm on Windows 10 64 bits with Anaconda. conda list returns:

_license                  1.1                      py36_1
alabaster                 0.7.10                   py36_0
anaconda                  custom                   py36_0
anaconda-clean            1.1.0                    py36_0
anaconda-client           1.6.3                    py36_0
anaconda-navigator        1.6.3                    py36_0
anaconda-project          0.6.0                    py36_0
apipkg                    1.4                      py36_0    conda-forge
argcomplete               1.8.2                    py36_0    conda-forge
args                      0.1.0                    py36_0    conda-forge
ase                       3.14.1                   py36_0    conda-forge
asn1crypto                0.22.0                   py36_0
assimulo                  2.9             np112py36_vc14_2  [vc14]  conda-forge
astroid                   1.4.9                    py36_0
astropy                   2.0.1               np112py36_0
attrs                     17.2.0                   py36_0    conda-forge
babel                     2.4.0                    py36_0
backports                 1.0                      py36_0
beautifulsoup4            4.6.0                    py36_0
bitarray                  0.8.1                    py36_1
bkcharts                  0.2                      py36_0
blaze                     0.10.1                   py36_0
bleach                    1.5.0                    py36_0
bokeh                     0.12.6                   py36_0
boto                      2.47.0                   py36_0
boto3                     1.4.4                    py36_0
botocore                  1.5.87                   py36_0    conda-forge
bottleneck                1.2.1               np112py36_0
bzip2                     1.0.6                    vc14_3  [vc14]
certifi                   2017.7.27.1              py36_0    conda-forge
cffi                      1.10.0                   py36_0
chardet                   3.0.4                    py36_0
chest                     0.2.3                    py36_0
click                     6.7                      py36_0
clint                     0.5.1                    py36_0    conda-forge
cloudpickle               0.3.1                    py36_0    conda-forge
clyent                    1.2.2                    py36_0
colorama                  0.3.9                    py36_0
comtypes                  1.1.2                    py36_0
conda                     4.3.23                   py36_0
conda-build               3.0.8                    py36_0
conda-env                 2.6.0                         0
conda-verify              2.0.0                    py36_0
configobj                 5.0.6                    py36_0
console_shortcut          0.1.1                    py36_1
contextlib2               0.5.5                    py36_0
coverage                  4.4.1                    py36_0
cryptography              1.9                      py36_0    conda-forge
curl                      7.52.1                   vc14_0  [vc14]
cycler                    0.10.0                   py36_0
cython                    0.26                     py36_0
cytoolz                   0.8.2                    py36_0
dask                      0.15.1                   py36_0    conda-forge
datashape                 0.5.4                    py36_0
decorator                 4.1.2                    py36_0
dill                      0.2.6                    py36_0
distributed               1.18.0                   py36_0    conda-forge
docutils                  0.13.1                   py36_0
dynd-python               removed                       0
emcee                     2.2.1                    py36_3    conda-forge
entrypoints               0.2.3                    py36_0
et_xmlfile                1.0.1                    py36_0
execnet                   1.4.1                    py36_0    conda-forge
fastcache                 1.0.2                    py36_1
filelock                  2.0.7                    py36_0
flake8                    3.3.0                    py36_0
flask                     0.12.2                   py36_0
flask-cors                3.0.3                    py36_0    conda-forge
freetype                  2.7                      vc14_1  [vc14]  conda-forge
get_terminal_size         1.0.0                    py36_0
gevent                    1.2.2                    py36_0
glob2                     0.5                      py36_0
greenlet                  0.4.12                   py36_0
gunicorn                  19.7.1                    <pip>
h5py                      2.7.0               np112py36_1    conda-forge
hdf5                      1.8.18                   vc14_0  [vc14]  conda-forge
heapdict                  1.0.0                    py36_1
hickle                    2.1.0                     <pip>
html5lib                  0.9999999                py36_0    conda-forge
hypothesis                3.11.6                   py36_0    conda-forge
icu                       58.1                     vc14_1  [vc14]  conda-forge
idna                      2.5                      py36_0
imagesize                 0.7.1                    py36_0
inflect                   0.2.5                     <pip>
ipykernel                 4.6.1                    py36_0
ipython                   6.1.0                    py36_0
ipython_genutils          0.2.0                    py36_0
isort                     4.2.15                   py36_0
itsdangerous              0.24                     py36_0
jaraco.itertools          2.0.1                     <pip>
jdcal                     1.3                      py36_0
jedi                      0.10.2                   py36_2
jinja2                    2.9.6                    py36_0
jmespath                  0.9.3                    py36_0    conda-forge
jpeg                      9b                       vc14_0  [vc14]
jsonschema                2.6.0                    py36_0
jupyter_client            5.1.0                    py36_0
jupyter_core              4.3.0                    py36_0
launcher                  1.0.0                         4
lazy-object-proxy         1.3.1                    py36_0
libdynd                   0.7.2                         0
libiconv                  1.14                     vc14_0  [vc14]
libpng                    1.6.28                   vc14_0  [vc14]  conda-forge
libsodium                 1.0.3                         0
libtiff                   4.0.6                    vc14_3  [vc14]
libxml2                   2.9.4                    vc14_4  [vc14]  conda-forge
libxslt                   1.1.29                   vc14_5  [vc14]  conda-forge
line_profiler             2.0                      py36_0
llvmlite                  0.19.0                   py36_0
lmfit                     0.9.7                    py36_0    conda-forge
locket                    0.2.0                    py36_1
lxml                      3.8.0                    py36_0
markupsafe                1.0                      py36_0    conda-forge
matplotlib                2.0.2                    py36_1    conda-forge
mccabe                    0.6.1                    py36_0
memory_profiler           0.47                     py36_0    conda-forge
menuinst                  1.4.7                    py36_0
mistune                   0.7.4                    py36_0
mkl                       2017.0.3                      0
mkl-service               1.1.2                    py36_3
more-itertools            3.2.0                     <pip>
mpmath                    0.19                     py36_1
msgpack-python            0.4.8                    py36_0
msvc_runtime              1.0.1                    vc14_0  [vc14]
multipledispatch          0.4.9                    py36_0
mypy                      0.511                     <pip>
mypy-extensions           0.1.0                     <pip>
nbconvert                 5.2.1                    py36_0
nbformat                  4.3.0                    py36_0
networkx                  1.11                     py36_0
nltk                      3.2.4                    py36_0
node-webkit               0.10.1                        0
nose                      1.3.7                    py36_1
numba                     0.34.0              np112py36_5
numexpr                   2.6.2               np112py36_0
numpy                     1.12.1                   py36_0
numpydoc                  0.7.0                    py36_0    conda-forge
odo                       0.5.1                    py36_0    conda-forge
olefile                   0.44                     py36_0
openpyxl                  2.5.0a2                  py36_0    conda-forge
openssl                   1.0.2l                   vc14_0  [vc14]
packaging                 16.8                     py36_0
pandas                    0.20.3                   py36_0
pandoc                    1.19.2.1                      1
pandocfilters             1.4.1                    py36_0
partd                     0.3.8                    py36_0
patch                     2.5.9                         1
path.py                   10.3.1                   py36_0
pathlib2                  2.3.0                    py36_0    conda-forge
patsy                     0.4.1                    py36_0
pep8                      1.7.0                    py36_0
pickleshare               0.7.4                    py36_0
pillow                    4.2.1                    py36_0    conda-forge
pip                       9.0.1                    py36_1
pkginfo                   1.4.1                    py36_0
ply                       3.10                     py36_0
prompt_toolkit            1.0.14                   py36_0
psutil                    5.2.2                    py36_0
py                        1.4.34                   py36_0
pyasn1                    0.2.3                    py36_0
pycodestyle               2.3.1                    py36_0
pycosat                   0.6.2                    py36_0
pycparser                 2.18                     py36_0
pycrypto                  2.6.1                    py36_6
pycurl                    7.43.0                   py36_2
pyflakes                  1.5.0                    py36_0
pygments                  2.2.0                    py36_0
pylint                    1.6.5                    py36_0    conda-forge
pympler                   0.5                      py36_0    conda-forge
pyopenssl                 17.0.0                   py36_0
pyowm                     2.7.1                     <pip>
pyparsing                 2.2.0                    py36_0    conda-forge
pyqt                      5.6.0                    py36_2
pyreadline                2.1                      py36_0
pyserial                  2.7                      py36_0
pysocks                   1.6.7                    py36_0    conda-forge
pytables                  3.4.2               np112py36_1    conda-forge
pytest                    3.1.3                    py36_0
pytest-catchlog           1.2.2                    py36_0    conda-forge
pytest-cov                2.5.1                    py36_0    conda-forge
pytest-mock               1.6.2                    py36_0    conda-forge
pytest-xdist              1.18.2                   py36_0    conda-forge
python                    3.6.2                         0
python-dateutil           2.6.1                    py36_0
pytz                      2017.2                   py36_0
pywavelets                0.5.2               np112py36_0
pywin32                   220                      py36_2
pyyaml                    3.12                     py36_0
pyzmq                     16.0.2                   py36_0
qt                        5.6.2                    vc14_1  [vc14]  conda-forge
qtawesome                 0.4.4                    py36_0
qtconsole                 4.3.0                    py36_0
qtpy                      1.2.1                    py36_0
requests                  2.18.2                   py36_0    conda-forge
requests-cache            0.4.13                   py36_0    conda-forge
requests-toolbelt         0.8.0                    py36_0    conda-forge
rope                      0.10.5                   py36_0    conda-forge
ruamel.yaml               0.15.21                  py36_0    conda-forge
ruamel_yaml               0.11.14                  py36_1
s3fs                      0.1.2                    py36_0    conda-forge
s3transfer                0.1.10                   py36_0
scikit-image              0.13.0              np112py36_0
scikit-learn              0.18.2              np112py36_0
scipy                     0.19.1              np112py36_0
setuptools                36.2.2                   py36_0    conda-forge
simplegeneric             0.8.1                    py36_1
singledispatch            3.4.0.3                  py36_0
sip                       4.18                     py36_0
six                       1.10.0                   py36_0
snowballstemmer           1.2.1                    py36_0
sockjs-tornado            1.0.3                    py36_0
sortedcollections         0.5.3                    py36_0
sortedcontainers          1.5.7                    py36_0
sphinx                    1.6.3                    py36_0    conda-forge
sphinx_rtd_theme          0.2.4                    py36_0
sphinxcontrib             1.0                      py36_0
sphinxcontrib-websupport  1.0.1                    py36_0
spyder                    3.2.0                    py36_0
spyder-line-profiler      0.1.1                    py36_0    conda-forge
sqlalchemy                1.1.11                   py36_0
statsmodels               0.8.0               np112py36_0
sundials                  2.7.0                    vc14_3  [vc14]  conda-forge
sympy                     1.1.1                    py36_0
tblib                     1.3.2                    py36_0
testpath                  0.3.1                    py36_0
textblob                  0.12.0                    <pip>
tk                        8.6.6                    vc14_5  [vc14]  conda-forge
toolz                     0.8.2                    py36_0
tornado                   4.5.1                    py36_0
tqdm                      4.15.0                   py36_0    conda-forge
traitlets                 4.3.2                    py36_0
twine                     1.8.1                    py36_1    conda-forge
typed-ast                 1.0.3                     <pip>
typing                    3.6.1                    py36_0
ujson                     1.35                     py36_0
unicodecsv                0.14.1                   py36_0
urllib3                   1.21.1                   py36_0
vc                        14                            0
vs2015_runtime            14.0.25420                    0
wcwidth                   0.1.7                    py36_0
webencodings              0.5                      py36_0    conda-forge
werkzeug                  0.12.2                   py36_0
wheel                     0.29.0                   py36_0
win_inet_pton             1.0.1                    py36_0
win_unicode_console       0.5                      py36_0
wincertstore              0.2                      py36_0    conda-forge
wolframalpha              3.0                       <pip>
wrapt                     1.10.10                  py36_0
xlrd                      1.0.0                    py36_0
xlsxwriter                0.9.6                    py36_0
xlwings                   0.11.4                   py36_0    conda-forge
xlwt                      1.2.0                    py36_0
xmltodict                 0.11.0                    <pip>
zeromq                    4.2.1                    vc14_1  [vc14]  conda-forge
zict                      0.1.2                    py36_0
zlib                      1.2.11                   vc14_0  [vc14]  conda-forge
zope                      1.0                      py36_0
zope.interface            4.4.2                    py36_0
ccordoba12 commented 7 years ago

You're using an old version of spyder-memory-profiler. Please update it.