spyder-ide / spyder

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

Spyder launch issue having to do with 'PyQt5.QtWebKitWidgets' missing #9776

Closed MohamadZohoori closed 5 years ago

MohamadZohoori commented 5 years ago

Hi,

I tried to launch Spyder from anaconda navigator and I faced this error:

Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 22, in from PyQt5.QtWebEngineWidgets import QWebEnginePage ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\ProgramData\Anaconda3\Scripts\spyder-script.py", line 10, in sys.exit(main()) File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\start.py", line 186, in main from spyder.app import mainwindow File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 90, in from qtpy import QtWebEngineWidgets # analysis:ignore File "C:\ProgramData\Anaconda3\lib\site-packages\qtpy\QtWebEngineWidgets.py", line 26, in from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'

I've already tried spyder --reset and I have faced this error:

2

Please help me find the way to lauch Spyder. Thanks in advance for your help.

Spyder version: 3.3.3 Python version: 3.7.3 operating system: windows 7

ccordoba12 commented 5 years ago

Please run in a terminal

conda list

and post its output here.

MohamadZohoori commented 5 years ago

(base) C:\Users\I>conda list

# packages in environment at C:\ProgramData\Anaconda3: # # Name Version Build Channel _ipyw_jlab_nb_ext_conf 0.1.0 py37_0 alabaster 0.7.12 py37_0 anaconda 2019.03 py37_0 anaconda-client 1.7.2 py37_0 anaconda-navigator 1.9.7 py37_0 anaconda-project 0.8.2 py37_0 asn1crypto 0.24.0 py37_0 astroid 2.2.5 py37_0 conda-forge astropy 3.1.2 py37he774522_0 atomicwrites 1.3.0 py37_1 attrs 19.1.0 py37_1 babel 2.6.0 py37_0 backcall 0.1.0 py37_0 backports 1.0 py37_1 backports.os 0.1.1 py37_0 backports.shutil_get_terminal_size 1.0.0 py37_2 beautifulsoup4 4.7.1 py37_1 bitarray 0.8.3 py37hfa6e2cd_0 bkcharts 0.2 py37_0 blas 1.0 mkl bleach 3.1.0 py37_0 blosc 1.15.0 h7bd577a_0 bokeh 1.0.4 py37_0 boto 2.49.0 py37_0 bottleneck 1.2.1 py37h452e1ab_1 bzip2 1.0.6 hfa6e2cd_5 ca-certificates 2019.1.23 0 anaconda certifi 2019.3.9 py37_0 anaconda cffi 1.12.2 py37h7a1dbc1_1 chardet 3.0.4 py37_1 click 7.0 py37_0 cloudpickle 0.8.0 py37_0 clyent 1.2.2 py37_1 colorama 0.4.1 py37_0 comtypes 1.1.7 py37_0 conda 4.7.5 py37_0 anaconda conda-build 3.17.8 py37_0 conda-env 2.6.0 1 conda-package-handling 1.3.10 py37_0 conda-forge conda-verify 3.1.1 py37_0 console_shortcut 0.1.1 3 contextlib2 0.5.5 py37_0 cryptography 2.6.1 py37h7a1dbc1_0 curl 7.64.0 h2a8f88b_2 cycler 0.10.0 py37_0 cython 0.29.6 py37ha925a31_0 cytoolz 0.9.0.1 py37hfa6e2cd_1 conda-forge dask 1.1.4 py37_1 dask-core 1.1.4 py37_1 decorator 4.4.0 py37_1 defusedxml 0.5.0 py37_1 distributed 1.26.0 py37_1 conda-forge docutils 0.14 py37_0 entrypoints 0.3 py37_0 et_xmlfile 1.0.1 py37_0 fastcache 1.0.2 py37hfa6e2cd_2 filelock 3.0.10 py37_0 flask 1.0.2 py37_1 freetype 2.9.1 ha9979f8_1 future 0.17.1 py37_1000 conda-forge get_terminal_size 1.0.0 h38e98db_0 gevent 1.4.0 py37he774522_0 glob2 0.6 py37_1 greenlet 0.4.15 py37hfa6e2cd_0 conda-forge h5py 2.9.0 py37h5e291fa_0 hdf5 1.10.4 h7ebc959_0 heapdict 1.0.0 py37_2 html5lib 1.0.1 py37_0 icc_rt 2019.0.0 h0cc432a_1 icu 58.2 ha66f8fd_1 idna 2.8 py37_0 imageio 2.5.0 py37_0 conda-forge imagesize 1.1.0 py37_0 importlib_metadata 0.8 py37_0 conda-forge intel-openmp 2019.3 203 ipykernel 5.1.0 py37h39e3cac_0 ipython 7.4.0 py37h39e3cac_0 conda-forge ipython_genutils 0.2.0 py37_0 ipywidgets 7.4.2 py37_0 isort 4.3.16 py37_0 conda-forge itsdangerous 1.1.0 py37_0 jdcal 1.4 py37_0 jedi 0.13.3 py37_0 conda-forge jinja2 2.10 py37_0 jpeg 9b hb83a4c4_2 jsonschema 3.0.1 py37_0 conda-forge jupyter 1.0.0 py37_7 jupyter_client 5.2.4 py37_0 jupyter_console 6.0.0 py37_0 jupyter_core 4.4.0 py37_0 jupyterlab 0.35.4 py37hf63ae98_0 jupyterlab_server 0.2.0 py37_0 keyring 18.0.0 py37_0 conda-forge kiwisolver 1.0.1 py37h6538335_0 krb5 1.16.1 hc04afaa_7 lazy-object-proxy 1.3.1 py37hfa6e2cd_2 libarchive 3.3.3 h0643e63_5 libcurl 7.64.0 h2a8f88b_2 libiconv 1.15 h1df5818_7 liblief 0.9.0 ha925a31_2 libpng 1.6.36 h2a8f88b_0 libsodium 1.0.16 h9d3ae62_0 libssh2 1.8.0 h7a1dbc1_4 libtiff 4.0.10 hb898794_2 libxml2 2.9.9 h464c3ec_0 libxslt 1.1.33 h579f668_0 llvmlite 0.28.0 py37ha925a31_0 locket 0.2.0 py37_1 lxml 4.3.2 py37h1350720_0 lz4-c 1.8.1.2 h2fa13f4_0 lzo 2.10 h6df0209_2 m2w64-gcc-libgfortran 5.3.0 6 m2w64-gcc-libs 5.3.0 7 m2w64-gcc-libs-core 5.3.0 7 m2w64-gmp 6.1.0 2 m2w64-libwinpthread-git 5.0.0.4634.697f757 2 markupsafe 1.1.1 py37he774522_0 matplotlib 3.0.3 py37hc8f65d3_0 mccabe 0.6.1 py37_1 menuinst 1.4.16 py37he774522_0 mistune 0.8.4 py37he774522_0 mkl 2019.3 203 mkl-service 1.1.2 py37hb782905_5 mkl_fft 1.0.10 py37h14836fe_0 mkl_random 1.0.2 py37h343c172_0 more-itertools 6.0.0 py37_0 mpmath 1.1.0 py37_0 msgpack-python 0.6.1 py37h74a9793_1 msys2-conda-epoch 20160418 1 multipledispatch 0.6.0 py37_0 navigator-updater 0.2.1 py37_0 nbconvert 5.4.1 py37_3 nbformat 4.4.0 py37_0 networkx 2.2 py37_1 nltk 3.4 py37_1 nose 1.3.7 py37_2 conda-forge notebook 5.7.8 py37_0 conda-forge numba 0.43.1 py37hf9181ef_0 numexpr 2.6.9 py37hdce8814_0 numpy 1.16.2 py37h19fb1c0_0 numpy-base 1.16.2 py37hc3f5095_0 numpy-stl 2.10.1 py37h452e1ab_0 conda-forge numpydoc 0.8.0 py37_0 olefile 0.46 py37_0 opencv-python 4.1.0.25 pypi_0 pypi openpyxl 2.6.1 py37_1 openssl 1.1.1b he774522_1 anaconda packaging 19.0 py37_0 pandas 0.24.2 py37ha925a31_0 pandoc 2.2.3.2 0 pandocfilters 1.4.2 py37_1 parso 0.3.4 py37_0 partd 0.3.10 py37_1 path.py 11.5.0 py37_0 pathlib2 2.3.3 py37_0 patsy 0.5.1 py37_0 pep8 1.7.1 py37_0 pickleshare 0.7.5 py37_0 pillow 5.4.1 py37hdc69c19_0 pip 19.0.3 py37_0 anaconda pkginfo 1.5.0.1 py37_0 pluggy 0.9.0 py37_0 ply 3.11 py37_0 powershell_shortcut 0.0.1 2 prometheus_client 0.6.0 py37_0 prompt_toolkit 2.0.9 py37_0 psutil 5.6.1 py37he774522_0 py 1.8.0 py37_0 py-lief 0.9.0 py37ha925a31_2 pycodestyle 2.5.0 py37_0 pycosat 0.6.3 py37hfa6e2cd_0 pycparser 2.19 py37_0 pycrypto 2.6.1 py37hfa6e2cd_9 pycurl 7.43.0.2 py37h7a1dbc1_0 pyflakes 2.1.1 py37_0 pygments 2.3.1 py37_0 pylint 2.3.1 py37_0 conda-forge pyodbc 4.0.26 py37ha925a31_0 pyopenssl 19.0.0 py37_0 conda-forge pyparsing 2.3.1 py37_0 pyqt 5.9.2 py37h6538335_2 pyreadline 2.1 py37_1 pyrsistent 0.14.11 py37he774522_0 pysocks 1.6.8 py37_0 pytables 3.5.1 py37h1da0976_0 pytest 4.3.1 py37_0 conda-forge pytest-arraydiff 0.3 py37h39e3cac_0 pytest-astropy 0.5.0 py37_0 pytest-doctestplus 0.3.0 py37_0 pytest-openfiles 0.3.2 py37_0 pytest-remotedata 0.3.1 py37_0 python 3.7.3 h8c8aaf0_0 python-dateutil 2.8.0 py37_0 python-libarchive-c 2.8 py37_6 python-utils 2.3.0 py_1 conda-forge pytz 2018.9 py37_0 pywavelets 1.0.2 py37h8c2d366_0 pywin32 223 py37hfa6e2cd_1 pywin32-ctypes 0.2.0 py37_1000 conda-forge pywinpty 0.5.5 py37_1000 conda-forge pyyaml 5.1 py37he774522_0 pyzmq 18.0.0 py37ha925a31_0 qt 5.9.7 vc14h73c81de_0 qtawesome 0.5.7 py37_1 qtconsole 4.4.3 py37_0 qtpy 1.7.0 py37_1 requests 2.21.0 py37_0 rope 0.12.0 py37_0 ruamel_yaml 0.15.46 py37hfa6e2cd_0 scikit-image 0.14.2 py37ha925a31_0 scikit-learn 0.20.3 py37h343c172_0 scipy 1.2.1 py37h29ff71c_0 seaborn 0.9.0 py37_0 send2trash 1.5.0 py37_0 setuptools 40.8.0 py37_0 conda-forge simplegeneric 0.8.1 py37_2 singledispatch 3.4.0.3 py37_0 sip 4.19.8 py37h6538335_0 conda-forge six 1.12.0 py37_0 snappy 1.1.7 h777316e_3 snowballstemmer 1.2.1 py37_0 sortedcollections 1.1.2 py37_0 sortedcontainers 2.1.0 py37_0 soupsieve 1.8 py37_0 conda-forge sphinx 1.8.5 py37_0 conda-forge sphinxcontrib 1.0 py37_1 sphinxcontrib-websupport 1.1.0 py37_1 spyder 3.3.3 py37_0 spyder-kernels 0.4.2 py37_0 conda-forge sqlalchemy 1.3.1 py37he774522_0 sqlite 3.27.2 he774522_0 statsmodels 0.9.0 py37h452e1ab_0 sympy 1.3 py37_0 conda-forge tblib 1.3.2 py37_0 terminado 0.8.1 py37_1 conda-forge testpath 0.4.2 py37_0 tk 8.6.8 hfa6e2cd_0 conda-forge toolz 0.9.0 py37_0 tornado 6.0.2 py37he774522_0 tqdm 4.31.1 py37_1 traitlets 4.3.2 py37_0 conda-forge trimesh 2.38.40 py_0 conda-forge unicodecsv 0.14.1 py37_0 urllib3 1.24.1 py37_0 vc 14.1 h0510ff6_4 vs2015_runtime 14.15.26706 h3a45250_0 wcwidth 0.1.7 py37_0 webencodings 0.5.1 py37_1 werkzeug 0.14.1 py37_0 wheel 0.33.1 py37_0 conda-forge widgetsnbextension 3.4.2 py37_0 win_inet_pton 1.1.0 py37_0 conda-forge win_unicode_console 0.5 py37_0 conda-forge wincertstore 0.2 py37_0 winpty 0.4.3 4 conda-forge wrapt 1.11.1 py37he774522_0 xlrd 1.2.0 py37_0 xlsxwriter 1.1.5 py37_0 xlwings 0.15.4 py37_0 conda-forge xlwt 1.3.0 py37_0 xz 5.2.4 h2fa13f4_4 yaml 0.1.7 hc54c509_2 zeromq 4.3.1 h33f27b4_3 zict 0.1.4 py37_0 zipp 0.3.3 py37_1 zlib 1.2.11 h62dcd97_3 zstd 1.3.7 h508b16e_0
MohamadZohoori commented 5 years ago

New Text Document.txt

ccordoba12 commented 5 years ago

I see that you're mixing conda-forge and regular packages, which is not advisable. Please create a new conda environment, install Spyder there with conda install spyder and try again.

MohamadZohoori commented 5 years ago

I did as you said( I created a new environment and installed spyder in it) but still the same error exists and spyder won't launch even in that environment.

 get_terminal_size  pkgs/main/win-64::get_terminal_size-1.0.0-h38e98db_0
  gevent             conda-forge/win-64::gevent-1.4.0-py37hfa6e2cd_0
  glob2              conda-forge/noarch::glob2-0.7-py_0
  greenlet           conda-forge/win-64::greenlet-0.4.15-py37hfa6e2cd_0
  h5py               conda-forge/win-64::h5py-2.9.0-nompi_py37h3cb27cb_1102
  hdf5               conda-forge/win-64::hdf5-1.10.4-nompi_hcc15c50_1106
  heapdict           conda-forge/win-64::heapdict-1.0.0-py37_1000
  html5lib           conda-forge/noarch::html5lib-1.0.1-py_0
  icc_rt             pkgs/main/win-64::icc_rt-2019.0.0-h0cc432a_1
  icu                conda-forge/win-64::icu-58.1-vc14_0
  idna               conda-forge/win-64::idna-2.8-py37_1000
  imageio            conda-forge/win-64::imageio-2.5.0-py37_0
  imagesize          conda-forge/noarch::imagesize-1.1.0-py_0
  importlib_metadata conda-forge/win-64::importlib_metadata-0.18-py37_0
  intel-openmp       pkgs/main/win-64::intel-openmp-2019.4-245
  ipykernel          conda-forge/win-64::ipykernel-5.1.1-py37h39e3cac_0
  ipython            conda-forge/win-64::ipython-7.6.1-py37h5ca1d4c_0
  ipython_genutils   conda-forge/noarch::ipython_genutils-0.2.0-py_1
  ipywidgets         conda-forge/noarch::ipywidgets-7.5.0-py_0
  isort              conda-forge/win-64::isort-4.3.21-py37_0
  itsdangerous       conda-forge/noarch::itsdangerous-1.1.0-py_0
  jdcal              conda-forge/noarch::jdcal-1.4.1-py_0
  jedi               conda-forge/win-64::jedi-0.14.0-py37_0
  jinja2             conda-forge/noarch::jinja2-2.10.1-py_0
  jmespath           conda-forge/noarch::jmespath-0.9.4-py_0
  joblib             conda-forge/noarch::joblib-0.13.2-py_0
  jpeg               conda-forge/win-64::jpeg-9c-hfa6e2cd_1001
  json5              conda-forge/noarch::json5-0.8.4-py_0
  jsonschema         conda-forge/win-64::jsonschema-3.0.1-py37_0
  jupyter            conda-forge/noarch::jupyter-1.0.0-py_2
  jupyter_client     conda-forge/noarch::jupyter_client-5.3.0-py_0
  jupyter_console    conda-forge/noarch::jupyter_console-6.0.0-py_0
  jupyter_core       conda-forge/noarch::jupyter_core-4.4.0-py_0
  jupyterlab         conda-forge/win-64::jupyterlab-1.0.1-py37_0
  jupyterlab_server  conda-forge/noarch::jupyterlab_server-1.0.0-py_1
  keyring            conda-forge/win-64::keyring-19.0.2-py37_0
  kiwisolver         conda-forge/win-64::kiwisolver-1.1.0-py37he980bc4_0
  krb5               conda-forge/win-64::krb5-1.16.3-hdd46e55_1001
  lazy-object-proxy  conda-forge/win-64::lazy-object-proxy-1.4.1-py37hfa6e2cd_0
  libarchive         conda-forge/win-64::libarchive-3.3.3-h4890af2_1005
  libblas            conda-forge/win-64::libblas-3.8.0-8_mkl
  libcblas           conda-forge/win-64::libcblas-3.8.0-8_mkl
  libcurl            conda-forge/win-64::libcurl-7.65.1-h4496350_0
  libiconv           conda-forge/win-64::libiconv-1.15-hfa6e2cd_1005
  liblief            pkgs/main/win-64::liblief-0.9.0-ha925a31_2
  libpng             conda-forge/win-64::libpng-1.6.37-h7602738_0
  libsodium          conda-forge/win-64::libsodium-1.0.16-h2fa13f4_1001
  libssh2            conda-forge/win-64::libssh2-1.8.2-h642c060_2
  libtiff            conda-forge/win-64::libtiff-4.0.10-h6512ee2_1003
  libxml2            conda-forge/win-64::libxml2-2.9.9-h9ce36c8_1
  libxslt            conda-forge/win-64::libxslt-1.1.32-heafd4d3_1003
  llvmlite           conda-forge/win-64::llvmlite-0.29.0-py37hed17590_1
  locket             conda-forge/noarch::locket-0.2.0-py_2
  lxml               conda-forge/win-64::lxml-4.3.4-py37heafd4d3_0
  lz4-c              conda-forge/win-64::lz4-c-1.8.3-he025d50_1001
  lzo                conda-forge/win-64::lzo-2.10-hfa6e2cd_1000
  m2w64-gcc-libgfor~ pkgs/msys2/win-64::m2w64-gcc-libgfortran-5.3.0-6
  m2w64-gcc-libs     pkgs/msys2/win-64::m2w64-gcc-libs-5.3.0-7
  m2w64-gcc-libs-co~ pkgs/msys2/win-64::m2w64-gcc-libs-core-5.3.0-7
  m2w64-gmp          pkgs/msys2/win-64::m2w64-gmp-6.1.0-2
  m2w64-libwinpthre~ pkgs/msys2/win-64::m2w64-libwinpthread-git-5.0.0.4634.697f7
57-2
  markupsafe         conda-forge/win-64::markupsafe-1.1.1-py37hfa6e2cd_0
  matplotlib         conda-forge/win-64::matplotlib-3.1.1-py37_0
  matplotlib-base    conda-forge/win-64::matplotlib-base-3.1.1-py37h2852a4a_0
  mccabe             conda-forge/noarch::mccabe-0.6.1-py_1
  menuinst           conda-forge/win-64::menuinst-1.4.16-py37_0
  mistune            conda-forge/win-64::mistune-0.8.4-py37hfa6e2cd_1000
  mkl                pkgs/main/win-64::mkl-2019.4-245
  mkl-service        conda-forge/win-64::mkl-service-2.1.0-py37hfa6e2cd_0
  mkl_fft            conda-forge/win-64::mkl_fft-1.0.13-py37hfa6e2cd_1
  mkl_random         conda-forge/win-64::mkl_random-1.0.4-py37h830ac7b_0
  mock               conda-forge/win-64::mock-3.0.5-py37_0
  more-itertools     conda-forge/noarch::more-itertools-7.1.0-py_0
  mpmath             conda-forge/noarch::mpmath-1.1.0-py_0
  msgpack-python     conda-forge/win-64::msgpack-python-0.6.1-py37he980bc4_0
  msys2-conda-epoch  pkgs/msys2/win-64::msys2-conda-epoch-20160418-1
  multipledispatch   conda-forge/noarch::multipledispatch-0.6.0-py_0
  nbconvert          conda-forge/noarch::nbconvert-5.5.0-py_0
  nbformat           conda-forge/noarch::nbformat-4.4.0-py_1
  networkx           conda-forge/noarch::networkx-2.3-py_0
  nltk               conda-forge/noarch::nltk-3.2.5-py_0
  nose               conda-forge/win-64::nose-1.3.7-py37_1002
  notebook           conda-forge/win-64::notebook-5.7.8-py37_1
  numba              pkgs/main/win-64::numba-0.44.1-py37hf9181ef_0
  numexpr            conda-forge/win-64::numexpr-2.6.9-py37h6538335_1000
  numpy              pkgs/main/win-64::numpy-1.16.4-py37h19fb1c0_0
  numpy-base         pkgs/main/win-64::numpy-base-1.16.4-py37hc3f5095_0
  numpydoc           conda-forge/noarch::numpydoc-0.9.1-py_0
  oauthlib           conda-forge/noarch::oauthlib-3.0.1-py_0
  olefile            conda-forge/noarch::olefile-0.46-py_0
  openpyxl           conda-forge/noarch::openpyxl-2.6.2-py_0
  openssl            conda-forge/win-64::openssl-1.1.1b-hfa6e2cd_2
  packaging          conda-forge/noarch::packaging-19.0-py_0
  pandas             conda-forge/win-64::pandas-0.24.2-py37he350917_0
  pandoc             conda-forge/win-64::pandoc-2.7.3-0
  pandocfilters      conda-forge/noarch::pandocfilters-1.4.2-py_1
  parso              conda-forge/noarch::parso-0.5.0-py_0
  partd              conda-forge/noarch::partd-1.0.0-py_0
  path.py            conda-forge/noarch::path.py-12.0.1-py_0
  pathlib2           conda-forge/win-64::pathlib2-2.3.4-py37_0
  patsy              conda-forge/noarch::patsy-0.5.1-py_0
  pep8               conda-forge/noarch::pep8-1.7.1-py_0
  pickleshare        conda-forge/win-64::pickleshare-0.7.5-py37_1000
  pillow             conda-forge/win-64::pillow-6.1.0-py37h9a613e6_0
  pip                conda-forge/win-64::pip-19.1.1-py37_0
  pkginfo            conda-forge/noarch::pkginfo-1.5.0.1-py_0
  pluggy             conda-forge/noarch::pluggy-0.12.0-py_0
  ply                conda-forge/noarch::ply-3.11-py_1
  powershell_shortc~ pkgs/main/win-64::powershell_shortcut-0.0.1-2
  prometheus_client  conda-forge/noarch::prometheus_client-0.7.1-py_0
  prompt_toolkit     conda-forge/noarch::prompt_toolkit-2.0.9-py_0
  psutil             conda-forge/win-64::psutil-5.6.3-py37hfa6e2cd_0
  py                 conda-forge/noarch::py-1.8.0-py_0
  py-lief            pkgs/main/win-64::py-lief-0.9.0-py37ha925a31_2
  pycodestyle        conda-forge/noarch::pycodestyle-2.5.0-py_0
  pycosat            conda-forge/win-64::pycosat-0.6.3-py37hfa6e2cd_1001
  pycparser          conda-forge/win-64::pycparser-2.19-py37_1
  pycrypto           conda-forge/win-64::pycrypto-2.6.1-py37hfa6e2cd_1002
  pycurl             conda-forge/win-64::pycurl-7.43.0.2-py37h636d3bd_1
  pyflakes           conda-forge/noarch::pyflakes-2.1.1-py_0
  pygments           conda-forge/noarch::pygments-2.4.2-py_0
  pyjwt              conda-forge/noarch::pyjwt-1.7.1-py_0
  pylint             conda-forge/win-64::pylint-2.3.1-py37_0
  pyodbc             conda-forge/win-64::pyodbc-4.0.26-py37h6538335_0
  pyopenssl          conda-forge/win-64::pyopenssl-19.0.0-py37_0
  pyparsing          conda-forge/noarch::pyparsing-2.4.0-py_0
  pyqt               conda-forge/win-64::pyqt-5.9.2-py37h6538335_0
  pyreadline         conda-forge/win-64::pyreadline-2.1-py37_1000
  pyrsistent         conda-forge/win-64::pyrsistent-0.15.3-py37hfa6e2cd_0
  pysocks            conda-forge/win-64::pysocks-1.7.0-py37_0
  pytables           conda-forge/win-64::pytables-3.5.2-py37h6a20dd8_0
  pytest             conda-forge/win-64::pytest-5.0.1-py37_0
  pytest-arraydiff   conda-forge/noarch::pytest-arraydiff-0.3-py_0
  pytest-astropy     conda-forge/noarch::pytest-astropy-0.5.0-py_0
  pytest-doctestplus conda-forge/noarch::pytest-doctestplus-0.3.0-py_0
  pytest-openfiles   conda-forge/noarch::pytest-openfiles-0.3.1-py_0
  pytest-remotedata  conda-forge/noarch::pytest-remotedata-0.3.1-py_0
  python             conda-forge/win-64::python-3.7.3-h510b542_1
  python-crfsuite    conda-forge/win-64::python-crfsuite-0.9.6-py37he980bc4_1000

  python-dateutil    conda-forge/noarch::python-dateutil-2.8.0-py_0
  python-libarchive~ conda-forge/win-64::python-libarchive-c-2.8-py37_1004
  pytz               conda-forge/noarch::pytz-2019.1-py_0
  pywavelets         conda-forge/win-64::pywavelets-1.0.3-py37h452e1ab_1
  pywin32            conda-forge/win-64::pywin32-224-py37hfa6e2cd_1000
  pywin32-ctypes     conda-forge/win-64::pywin32-ctypes-0.2.0-py37_1000
  pywinpty           conda-forge/win-64::pywinpty-0.5.5-py37_1000
  pyyaml             conda-forge/win-64::pyyaml-5.1.1-py37hfa6e2cd_0
  pyzmq              conda-forge/win-64::pyzmq-18.0.2-py37he7828b0_0
  qt                 conda-forge/win-64::qt-5.9.7-hc6833c9_1
  qtawesome          conda-forge/noarch::qtawesome-0.5.7-pyh8a2030e_0
  qtconsole          conda-forge/noarch::qtconsole-4.5.1-py_0
  qtpy               conda-forge/noarch::qtpy-1.8.0-py_0
  requests           conda-forge/win-64::requests-2.22.0-py37_0
  requests-oauthlib  conda-forge/noarch::requests-oauthlib-1.2.0-py_0
  rope               conda-forge/noarch::rope-0.14.0-py_0
  ruamel_yaml        conda-forge/win-64::ruamel_yaml-0.15.71-py37hfa6e2cd_1000
  s3transfer         conda-forge/win-64::s3transfer-0.2.1-py37_0
  scikit-image       conda-forge/win-64::scikit-image-0.15.0-py37he350917_2
  scikit-learn       conda-forge/win-64::scikit-learn-0.21.2-py37h7208079_1
  scipy              pkgs/main/win-64::scipy-1.2.1-py37h29ff71c_0
  seaborn            conda-forge/noarch::seaborn-0.9.0-py_1
  send2trash         conda-forge/noarch::send2trash-1.5.0-py_0
  setuptools         conda-forge/win-64::setuptools-41.0.1-py37_0
  simplegeneric      conda-forge/noarch::simplegeneric-0.8.1-py_1
  singledispatch     conda-forge/win-64::singledispatch-3.4.0.3-py37_1000
  sip                conda-forge/win-64::sip-4.19.8-py37h6538335_1000
  six                conda-forge/win-64::six-1.12.0-py37_1000
  smart_open         conda-forge/noarch::smart_open-1.8.4-py_0
  snappy             conda-forge/win-64::snappy-1.1.7-h6538335_1002
  snowballstemmer    conda-forge/noarch::snowballstemmer-1.9.0-py_0
  sortedcollections  conda-forge/noarch::sortedcollections-1.1.2-py_0
  sortedcontainers   conda-forge/noarch::sortedcontainers-2.1.0-py_0
  soupsieve          conda-forge/win-64::soupsieve-1.9.2-py37_0
  sphinx             conda-forge/noarch::sphinx-2.1.2-py_0
  sphinxcontrib      pkgs/main/win-64::sphinxcontrib-1.0-py37_1
  sphinxcontrib-app~ conda-forge/noarch::sphinxcontrib-applehelp-1.0.1-py_0
  sphinxcontrib-dev~ conda-forge/noarch::sphinxcontrib-devhelp-1.0.1-py_0
  sphinxcontrib-htm~ conda-forge/noarch::sphinxcontrib-htmlhelp-1.0.2-py_0
  sphinxcontrib-jsm~ conda-forge/noarch::sphinxcontrib-jsmath-1.0.1-py_0
  sphinxcontrib-qth~ conda-forge/noarch::sphinxcontrib-qthelp-1.0.2-py_0
  sphinxcontrib-ser~ conda-forge/noarch::sphinxcontrib-serializinghtml-1.1.1-py_
0
  sphinxcontrib-web~ conda-forge/noarch::sphinxcontrib-websupport-1.1.2-py_0
  spyder             conda-forge/win-64::spyder-3.3.5-py37_0
  spyder-kernels     conda-forge/win-64::spyder-kernels-0.5.0-py37_0
  sqlalchemy         conda-forge/win-64::sqlalchemy-1.3.5-py37hfa6e2cd_0
  sqlite             conda-forge/win-64::sqlite-3.28.0-hfa6e2cd_1
  statsmodels        conda-forge/win-64::statsmodels-0.10.0-py37hfa6e2cd_0
  sympy              conda-forge/win-64::sympy-1.4-py37_0
  tblib              conda-forge/noarch::tblib-1.4.0-py_0
  terminado          conda-forge/win-64::terminado-0.8.2-py37_0
  testpath           conda-forge/noarch::testpath-0.4.2-py_1001
  tk                 conda-forge/win-64::tk-8.6.9-hfa6e2cd_1002
  toolz              conda-forge/noarch::toolz-0.9.0-py_1
  tornado            conda-forge/win-64::tornado-6.0.3-py37hfa6e2cd_0
  tqdm               conda-forge/noarch::tqdm-4.32.2-py_0
  traitlets          conda-forge/win-64::traitlets-4.3.2-py37_1000
  twython            conda-forge/noarch::twython-3.7.0-py_0
  unicodecsv         conda-forge/noarch::unicodecsv-0.14.1-py_1
  urllib3            conda-forge/win-64::urllib3-1.24.3-py37_0
  vc                 pkgs/main/win-64::vc-14.1-h0510ff6_4
  vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.15.26706-h3a45250_4
  wcwidth            conda-forge/noarch::wcwidth-0.1.7-py_1
  webencodings       conda-forge/noarch::webencodings-0.5.1-py_1
  werkzeug           conda-forge/noarch::werkzeug-0.15.4-py_0
  wheel              conda-forge/win-64::wheel-0.33.4-py37_0
  widgetsnbextension conda-forge/win-64::widgetsnbextension-3.5.0-py37_0
  win_inet_pton      conda-forge/win-64::win_inet_pton-1.1.0-py37_0
  win_unicode_conso~ conda-forge/win-64::win_unicode_console-0.5-py37_1000
  wincertstore       conda-forge/win-64::wincertstore-0.2-py37_1002
  winpty             conda-forge/win-64::winpty-0.4.3-4
  wrapt              conda-forge/win-64::wrapt-1.11.2-py37hfa6e2cd_0
  xlrd               conda-forge/noarch::xlrd-1.2.0-py_0
  xlsxwriter         conda-forge/noarch::xlsxwriter-1.1.8-py_0
  xlwings            conda-forge/win-64::xlwings-0.15.8-py37_0
  xlwt               conda-forge/noarch::xlwt-1.3.0-py_1
  xz                 conda-forge/win-64::xz-5.2.4-h2fa13f4_1001
  yaml               conda-forge/win-64::yaml-0.1.7-hfa6e2cd_1001
  zeromq             conda-forge/win-64::zeromq-4.3.1-he025d50_1000
  zict               conda-forge/noarch::zict-1.0.0-py_0
  zipp               conda-forge/noarch::zipp-0.5.1-py_0
  zlib               conda-forge/win-64::zlib-1.2.11-h2fa13f4_1004
  zstd               conda-forge/win-64::zstd-1.4.0-hd8a0e53_0

Proceed ([y]/n)? y

Downloading and Extracting Packages
mkl-2019.4           | 157.5 MB  | #################################### | 100%
jupyter_client-5.3.0 | 64 KB     | #################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: / DEBUG menuinst_win32:__init__(199): Menu: name: 'Anacon
da${PY_VER} ${PLATFORM}', prefix: 'C:\ProgramData\Anaconda3\envs\spyder', env_na
me: 'spyder', mode: 'system', used_mode: 'system'
DEBUG menuinst_win32:create(323): Shortcut cmd is %windir%\System32\cmd.exe, arg
s are ['"/K"', 'C:\\ProgramData\\Anaconda3\\Scripts\\activate.bat', 'C:\\Program
Data\\Anaconda3\\envs\\spyder']
/ DEBUG menuinst_win32:__init__(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}
', prefix: 'C:\ProgramData\Anaconda3\envs\spyder', env_name: 'spyder', mode: 'sy
stem', used_mode: 'system'
DEBUG menuinst_win32:create(323): Shortcut cmd is %windir%\System32\WindowsPower
Shell\v1.0\powershell.exe, args are ['-ExecutionPolicy', 'ByPass', '-NoExit', '-
Command', '"& \'C:\\ProgramData\\Anaconda3\\shell\\condabin\\conda-hook.ps1\' ;
conda activate \'C:\\ProgramData\\Anaconda3\\envs\\spyder\' "']
\ DEBUG menuinst_win32:__init__(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}
', prefix: 'C:\ProgramData\Anaconda3\envs\spyder', env_name: 'spyder', mode: 'sy
stem', used_mode: 'system'
DEBUG menuinst_win32:create(323): Shortcut cmd is C:\ProgramData\Anaconda3\pytho
nw.exe, args are ['C:\\ProgramData\\Anaconda3\\cwp.py', 'C:\\ProgramData\\Anacon
da3\\envs\\spyder', 'C:\\ProgramData\\Anaconda3\\envs\\spyder\\pythonw.exe', 'C:
\\ProgramData\\Anaconda3\\envs\\spyder\\Scripts\\spyder-script.py']
DEBUG menuinst_win32:create(323): Shortcut cmd is C:\ProgramData\Anaconda3\pytho
n.exe, args are ['C:\\ProgramData\\Anaconda3\\cwp.py', 'C:\\ProgramData\\Anacond
a3\\envs\\spyder', 'C:\\ProgramData\\Anaconda3\\envs\\spyder\\python.exe', 'C:\\
ProgramData\\Anaconda3\\envs\\spyder\\Scripts\\spyder-script.py', '--reset']
\ b'Enabling notebook extension jupyter-js-widgets/extension...\n      - Validat
ing: ok\n'
done
#
# To activate this environment, use
#
#     $ conda activate spyder
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(base) C:\Users\I>source activate spyder
'source' is not recognized as an internal or external command,
operable program or batch file.

(base) C:\Users\I>conda activate spyder

(spyder) C:\Users\I>conda install -n spyder
WARNING conda.base.context:use_only_tar_bz2(632): Conda is constrained to only u
sing the old .tar.bz2 file format because you have conda-build installed, and it
 is <3.18.3.  Update or remove conda-build to get smaller downloads and faster e
xtractions.

CondaValueError: too few arguments, must supply command line package specs or --
file

(spyder) C:\Users\I>conda install spyder
WARNING conda.base.context:use_only_tar_bz2(632): Conda is constrained to only u
sing the old .tar.bz2 file format because you have conda-build installed, and it
 is <3.18.3.  Update or remove conda-build to get smaller downloads and faster e
xtractions.
Collecting package metadata (repodata.json): done
Solving environment: done

# All requested packages already installed.

(spyder) C:\Users\I>
ccordoba12 commented 5 years ago

This can also be caused by other software that installed Qt in your system. Please search for Qt5*.dll libraries in your system and see if they are placed out of the Anaconda installation directory.

MohamadZohoori commented 5 years ago

There are a lot of them installed by Solidworks but this software didn't use to cause error when I launched Spyder before. Problem of launching Spyder started since last week. when I installed qt designer (I didn't know that anaconda has qt designer on its own) and right after that I coded a simple gui and created exe file with pyinstaller, Spyder stopped launching. exe file of the gui I created wouldn't launch as well. After that, I uninstalled both anaconda and qt designer. and reinstalled anaconda. Doing this didn't solve the problem either.I still faced the same error.

ccordoba12 commented 5 years ago

After that, I uninstalled both anaconda and qt designer. and reinstalled anaconda. Doing this didn't solve the problem either.I still faced the same error.

Ok, this means that this is a problem in your side and not in Spyder, so you have to figure it out how to solve it by yourself. I'm sorry but I don't know how else to help you.

MohamadZohoori commented 5 years ago

OK, thanks for your help anyway.