Closed MohamadZohoori closed 5 years ago
Please run in a terminal
conda list
and post its output here.
(base) C:\Users\I>conda list
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.
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>
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.
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.
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.
OK, thanks for your help anyway.
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:
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