spyder
spyder copied to clipboard
Spyder fails to start in Wayland only desktop environment
Issue Report Checklist
- [x] Searched the issues page for similar reports
- [x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- [x] Reproduced the issue after updating with
conda update spyder
(orpip
, if not using Anaconda) - [ ] Could not reproduce inside
jupyter qtconsole
(if console-related) - [x] Tried basic troubleshooting (if a bug/error)
- [x] Restarted Spyder
- [ ] Reset preferences with
spyder --reset
- [ ] Reinstalled the latest version of Anaconda
- [x] Tried the other applicable steps from the Troubleshooting Guide
- [x] Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
Spyder install fails after following the installation steps for pip according to the installation guide https://docs.spyder-ide.org/current/installation.html
What steps reproduce the problem?
- python3 -m venv spyder-env
- source spyder-env/bin/activate
- pip install spyder
What is the expected output? What do you see instead?
Check initial Pip packages
matrix@matrix-Standard-PC-i440FX-PIIX-1996:~$ pip3 list
Package Version
---------------------- ---------------
apturl 0.5.2
blinker 1.4
Brlapi 0.8.3
certifi 2020.6.20
chardet 4.0.0
click 8.0.3
colorama 0.4.4
command-not-found 0.3
cryptography 3.4.8
cupshelpers 1.0
dbus-python 1.2.18
defer 1.0.6
distlib 0.3.6
distro 1.7.0
distro-info 1.1build1
filelock 3.8.2
httplib2 0.20.2
idna 3.3
importlib-metadata 4.6.4
jeepney 0.7.1
keyring 23.5.0
language-selector 0.1
launchpadlib 1.10.16
lazr.restfulclient 0.14.4
lazr.uri 1.0.6
louis 3.20.0
macaroonbakery 1.3.1
more-itertools 8.10.0
netifaces 0.11.0
oauthlib 3.2.0
olefile 0.46
pexpect 4.8.0
Pillow 9.0.1
pip 22.0.2
platformdirs 2.6.0
protobuf 3.12.4
ptyprocess 0.7.0
pycairo 1.20.1
pycups 2.0.1
PyGObject 3.42.1
PyJWT 2.4.0
pymacaroons 0.13.0
PyNaCl 1.5.0
pyparsing 2.4.7
pyRFC3339 1.1
python-apt 2.3.0+ubuntu2.1
python-dateutil 2.8.1
python-debian 0.1.43ubuntu1
pytz 2022.1
pyxdg 0.27
PyYAML 5.4.1
reportlab 3.6.8
requests 2.25.1
SecretStorage 3.3.1
setuptools 59.6.0
six 1.16.0
systemd-python 234
ubuntu-advantage-tools 27.9
ubuntu-drivers-common 0.0.0
ufw 0.36.1
unattended-upgrades 0.1
urllib3 1.26.5
virtualenv 20.17.1
wadllib 1.3.6
wheel 0.37.1
xdg 5
xkit 0.0.0
zipp 1.0.0
Install Virtual Environment package
matrix@matrix-Standard-PC-i440FX-PIIX-1996:~$ sudo apt-get install python3-venv
[sudo] password for matrix:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
systemd-hwe-hwdb
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
python3-pip-whl python3-setuptools-whl python3.10-venv
The following NEW packages will be installed
python3-pip-whl python3-setuptools-whl python3-venv python3.10-venv
0 to upgrade, 4 to newly install, 0 to remove and 183 not to upgrade.
Need to get 2,474 kB of archives.
After this operation, 2,888 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://gb.archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pip-whl all 22.0.2+dfsg-1 [1,679 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu jammy/universe amd64 python3-setuptools-whl all 59.6.0-1.2 [788 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3.10-venv amd64 3.10.6-1~22.04.2 [5,722 B]
Get:4 http://gb.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-venv amd64 3.10.6-1~22.04 [1,038 B]
Fetched 2,474 kB in 2s (1,000 kB/s)
Selecting previously unselected package python3-pip-whl.
(Reading database ... 180980 files and directories currently installed.)
Preparing to unpack .../python3-pip-whl_22.0.2+dfsg-1_all.deb ...
Unpacking python3-pip-whl (22.0.2+dfsg-1) ...
Selecting previously unselected package python3-setuptools-whl.
Preparing to unpack .../python3-setuptools-whl_59.6.0-1.2_all.deb ...
Unpacking python3-setuptools-whl (59.6.0-1.2) ...
Selecting previously unselected package python3.10-venv.
Preparing to unpack .../python3.10-venv_3.10.6-1~22.04.2_amd64.deb ...
Unpacking python3.10-venv (3.10.6-1~22.04.2) ...
Selecting previously unselected package python3-venv.
Preparing to unpack .../python3-venv_3.10.6-1~22.04_amd64.deb ...
Unpacking python3-venv (3.10.6-1~22.04) ...
Setting up python3-setuptools-whl (59.6.0-1.2) ...
Setting up python3-pip-whl (22.0.2+dfsg-1) ...
Setting up python3.10-venv (3.10.6-1~22.04.2) ...
Setting up python3-venv (3.10.6-1~22.04) ...
Activate virtual Environment and install spyder
matrix@matrix-Standard-PC-i440FX-PIIX-1996:~$ python3 -m venv spyder-env
matrix@matrix-Standard-PC-i440FX-PIIX-1996:~$ source spyder-env/bin/activate
(spyder-env) matrix@matrix-Standard-PC-i440FX-PIIX-1996:~$ pip install spyder
Collecting spyder
Using cached spyder-5.4.0-py3-none-any.whl (14.9 MB)
Collecting watchdog>=0.10.3
Using cached watchdog-2.2.0-py3-none-manylinux2014_x86_64.whl (78 kB)
Collecting cloudpickle>=0.5.0
Using cached cloudpickle-2.2.0-py3-none-any.whl (25 kB)
Collecting chardet>=2.0.0
Using cached chardet-5.1.0-py3-none-any.whl (199 kB)
Collecting pickleshare>=0.4
Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting jellyfish>=0.7
Using cached jellyfish-0.9.0.tar.gz (132 kB)
Preparing metadata (setup.py) ... done
Collecting pyls-spyder>=0.4.0
Using cached pyls_spyder-0.4.0-py3-none-any.whl (8.1 kB)
Collecting numpydoc>=0.6.0
Using cached numpydoc-1.5.0-py3-none-any.whl (52 kB)
Collecting python-lsp-server[all]<1.7.0,>=1.6.0
Using cached python_lsp_server-1.6.0-py3-none-any.whl (63 kB)
Requirement already satisfied: setuptools>=49.6.0 in ./spyder-env/lib/python3.10/site-packages (from spyder) (59.6.0)
Collecting jsonschema>=3.2.0
Using cached jsonschema-4.17.3-py3-none-any.whl (90 kB)
Collecting textdistance>=4.2.0
Using cached textdistance-4.5.0-py3-none-any.whl (31 kB)
Collecting spyder-kernels<2.5.0,>=2.4.0
Using cached spyder_kernels-2.4.0-py2.py3-none-any.whl (73 kB)
Collecting qstylizer>=0.2.2
Using cached qstylizer-0.2.2-py2.py3-none-any.whl (15 kB)
Collecting nbconvert>=4.0
Using cached nbconvert-7.2.6-py3-none-any.whl (273 kB)
Collecting psutil>=5.3
Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting pyxdg>=0.26
Using cached pyxdg-0.28-py2.py3-none-any.whl (49 kB)
Collecting cookiecutter>=1.6.0
Using cached cookiecutter-2.1.1-py2.py3-none-any.whl (36 kB)
Collecting rtree>=0.9.7
Using cached Rtree-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB)
Collecting intervaltree>=3.0.2
Using cached intervaltree-3.1.0.tar.gz (32 kB)
Preparing metadata (setup.py) ... done
Collecting diff-match-patch>=20181111
Using cached diff_match_patch-20200713-py3-none-any.whl (61 kB)
Collecting pyqt5<5.16
Using cached PyQt5-5.15.7-cp37-abi3-manylinux1_x86_64.whl (8.4 MB)
Collecting qtpy>=2.1.0
Using cached QtPy-2.3.0-py3-none-any.whl (83 kB)
Collecting qtconsole<5.5.0,>=5.4.0
Using cached qtconsole-5.4.0-py3-none-any.whl (121 kB)
Collecting pygments>=2.0
Using cached Pygments-2.13.0-py3-none-any.whl (1.1 MB)
Collecting python-lsp-black>=1.2.0
Using cached python_lsp_black-1.2.1-py3-none-any.whl (6.2 kB)
Collecting qdarkstyle<3.1.0,>=3.0.2
Using cached QDarkStyle-3.0.3-py2.py3-none-any.whl (450 kB)
Collecting sphinx>=0.6.6
Using cached sphinx-5.3.0-py3-none-any.whl (3.2 MB)
Collecting ipython<8.0.0,>=7.31.1
Using cached ipython-7.34.0-py3-none-any.whl (793 kB)
Collecting parso<0.9.0,>=0.7.0
Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting pyqtwebengine<5.16
Using cached PyQtWebEngine-5.15.6-cp37-abi3-manylinux1_x86_64.whl (230 kB)
Collecting three-merge>=0.1.1
Using cached three_merge-0.1.1-py2.py3-none-any.whl (6.4 kB)
Collecting jedi<0.19.0,>=0.17.2
Using cached jedi-0.18.2-py2.py3-none-any.whl (1.6 MB)
Collecting pylint-venv>=2.1.1
Using cached pylint_venv-2.3.0-py3-none-any.whl (6.4 kB)
Collecting qtawesome>=1.2.1
Using cached QtAwesome-1.2.1-py3-none-any.whl (2.3 MB)
Collecting keyring>=17.0.0
Using cached keyring-23.11.0-py3-none-any.whl (36 kB)
Collecting pyzmq>=22.1.0
Using cached pyzmq-24.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting atomicwrites>=1.2.0
Using cached atomicwrites-1.4.1.tar.gz (14 kB)
Preparing metadata (setup.py) ... done
Collecting pexpect>=4.4.0
Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
Collecting pylint<3.0,>=2.5.0
Using cached pylint-2.15.8-py3-none-any.whl (509 kB)
Collecting Jinja2<4.0.0,>=2.7
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting python-slugify>=4.0.0
Using cached python_slugify-7.0.0-py2.py3-none-any.whl (9.4 kB)
Collecting jinja2-time>=0.2.0
Using cached jinja2_time-0.2.0-py2.py3-none-any.whl (6.4 kB)
Collecting requests>=2.23.0
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting binaryornot>=0.4.4
Using cached binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
Collecting pyyaml>=5.3.1
Using cached PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB)
Collecting click<9.0.0,>=7.0
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting sortedcontainers<3.0,>=2.0
Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting matplotlib-inline
Using cached matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
Collecting decorator
Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
Using cached prompt_toolkit-3.0.36-py3-none-any.whl (386 kB)
Collecting traitlets>=4.2
Using cached traitlets-5.7.1-py3-none-any.whl (109 kB)
Collecting backcall
Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting attrs>=17.4.0
Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.19.2-py3-none-any.whl (57 kB)
Collecting SecretStorage>=3.2
Using cached SecretStorage-3.3.3-py3-none-any.whl (15 kB)
Collecting jaraco.classes
Using cached jaraco.classes-3.2.3-py3-none-any.whl (6.0 kB)
Collecting importlib-metadata>=4.11.4
Using cached importlib_metadata-5.1.0-py3-none-any.whl (21 kB)
Collecting jeepney>=0.4.2
Using cached jeepney-0.8.0-py3-none-any.whl (48 kB)
Collecting packaging
Using cached packaging-22.0-py3-none-any.whl (42 kB)
Collecting tinycss2
Using cached tinycss2-1.2.1-py3-none-any.whl (21 kB)
Collecting defusedxml
Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting pandocfilters>=1.4.1
Using cached pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting beautifulsoup4
Using cached beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
Collecting jupyterlab-pygments
Using cached jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB)
Collecting mistune<3,>=2.0.3
Using cached mistune-2.0.4-py2.py3-none-any.whl (24 kB)
Collecting jupyter-core>=4.7
Using cached jupyter_core-5.1.0-py3-none-any.whl (92 kB)
Collecting markupsafe>=2.0
Using cached MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting bleach
Using cached bleach-5.0.1-py3-none-any.whl (160 kB)
Collecting nbformat>=5.1
Using cached nbformat-5.7.0-py3-none-any.whl (77 kB)
Collecting nbclient>=0.5.0
Using cached nbclient-0.7.2-py3-none-any.whl (71 kB)
Collecting ptyprocess>=0.5
Using cached ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting tomli>=1.1.0
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting dill>=0.2
Using cached dill-0.3.6-py3-none-any.whl (110 kB)
Collecting platformdirs>=2.2.0
Using cached platformdirs-2.6.0-py3-none-any.whl (14 kB)
Collecting astroid<=2.14.0-dev0,>=2.12.13
Using cached astroid-2.12.13-py3-none-any.whl (264 kB)
Collecting tomlkit>=0.10.1
Using cached tomlkit-0.11.6-py3-none-any.whl (35 kB)
Collecting isort<6,>=4.2.5
Using cached isort-5.11.2-py3-none-any.whl (118 kB)
Collecting mccabe<0.8,>=0.6
Using cached mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
Collecting PyQt5-sip<13,>=12.11
Using cached PyQt5_sip-12.11.0-cp310-cp310-manylinux1_x86_64.whl (359 kB)
Collecting PyQt5-Qt5>=5.15.0
Using cached PyQt5_Qt5-5.15.2-py3-none-manylinux2014_x86_64.whl (59.9 MB)
Collecting PyQtWebEngine-Qt5>=5.15.0
Using cached PyQtWebEngine_Qt5-5.15.2-py3-none-manylinux2014_x86_64.whl (67.5 MB)
Collecting toml
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting black>=22.3.0
Using cached black-22.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB)
Collecting ujson>=3.0.0
Using cached ujson-5.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (52 kB)
Collecting python-lsp-jsonrpc>=1.0.0
Using cached python_lsp_jsonrpc-1.0.0-py3-none-any.whl (8.5 kB)
Collecting pluggy>=1.0.0
Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting docstring-to-markdown
Using cached docstring_to_markdown-0.11-py3-none-any.whl (18 kB)
Collecting yapf
Using cached yapf-0.32.0-py2.py3-none-any.whl (190 kB)
Collecting pyflakes<2.6.0,>=2.5.0
Using cached pyflakes-2.5.0-py2.py3-none-any.whl (66 kB)
Collecting flake8<5.1.0,>=5.0.0
Using cached flake8-5.0.4-py2.py3-none-any.whl (61 kB)
Collecting autopep8<1.7.0,>=1.6.0
Using cached autopep8-1.6.0-py2.py3-none-any.whl (45 kB)
Collecting whatthepatch
Using cached whatthepatch-1.0.3-py3-none-any.whl (11 kB)
Collecting pydocstyle>=2.0.0
Using cached pydocstyle-6.1.1-py3-none-any.whl (37 kB)
Collecting pycodestyle<2.10.0,>=2.9.0
Using cached pycodestyle-2.9.1-py2.py3-none-any.whl (41 kB)
Collecting rope>=0.10.5
Using cached rope-1.6.0-py3-none-any.whl (196 kB)
Collecting inflection<1,>0.3.0
Using cached inflection-0.5.1-py2.py3-none-any.whl (9.5 kB)
Collecting jupyter-client>=4.1
Using cached jupyter_client-7.4.8-py3-none-any.whl (133 kB)
Collecting ipykernel>=4.1
Using cached ipykernel-6.19.2-py3-none-any.whl (145 kB)
Collecting ipython-genutils
Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting sphinxcontrib-qthelp
Using cached sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
Collecting sphinxcontrib-applehelp
Using cached sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
Collecting alabaster<0.8,>=0.7
Using cached alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting snowballstemmer>=2.0
Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
Collecting babel>=2.9
Using cached Babel-2.11.0-py3-none-any.whl (9.5 MB)
Collecting sphinxcontrib-devhelp
Using cached sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
Collecting docutils<0.20,>=0.14
Using cached docutils-0.19-py3-none-any.whl (570 kB)
Collecting imagesize>=1.3
Using cached imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB)
Collecting sphinxcontrib-serializinghtml>=1.1.5
Using cached sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB)
Collecting sphinxcontrib-htmlhelp>=2.0.0
Using cached sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB)
Collecting sphinxcontrib-jsmath
Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting wurlitzer>=1.0.3
Using cached wurlitzer-3.0.3-py3-none-any.whl (7.3 kB)
Collecting wrapt<2,>=1.11
Using cached wrapt-1.14.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (77 kB)
Collecting lazy-object-proxy>=1.4.0
Using cached lazy-object-proxy-1.8.0.tar.gz (41 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pytz>=2015.7
Using cached pytz-2022.6-py2.py3-none-any.whl (498 kB)
Collecting mypy-extensions>=0.4.3
Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting pathspec>=0.9.0
Using cached pathspec-0.10.3-py3-none-any.whl (29 kB)
Collecting zipp>=0.5
Using cached zipp-3.11.0-py3-none-any.whl (6.6 kB)
Collecting tornado>=6.1
Using cached tornado-6.2-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423 kB)
Collecting debugpy>=1.0
Using cached debugpy-1.6.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
Collecting nest-asyncio
Using cached nest_asyncio-1.5.6-py3-none-any.whl (5.2 kB)
Collecting comm>=0.1.1
Using cached comm-0.1.2-py3-none-any.whl (6.5 kB)
Collecting arrow
Using cached arrow-1.2.3-py3-none-any.whl (66 kB)
Collecting entrypoints
Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting python-dateutil>=2.8.2
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting fastjsonschema
Using cached fastjsonschema-2.16.2-py3-none-any.whl (22 kB)
Collecting wcwidth
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting text-unidecode>=1.3
Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
Collecting idna<4,>=2.5
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting charset-normalizer<3,>=2
Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting pytoolconfig[global]>=1.2.2
Using cached pytoolconfig-1.2.4-py3-none-any.whl (16 kB)
Collecting cryptography>=2.0
Using cached cryptography-38.0.4-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB)
Collecting webencodings>=0.4
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting soupsieve>1.2
Using cached soupsieve-2.3.2.post1-py3-none-any.whl (37 kB)
Collecting six>=1.9.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting more-itertools
Using cached more_itertools-9.0.0-py3-none-any.whl (52 kB)
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (441 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Using legacy 'setup.py install' for atomicwrites, since package 'wheel' is not installed.
Using legacy 'setup.py install' for intervaltree, since package 'wheel' is not installed.
Using legacy 'setup.py install' for jellyfish, since package 'wheel' is not installed.
Building wheels for collected packages: lazy-object-proxy
Building wheel for lazy-object-proxy (pyproject.toml) ... done
Created wheel for lazy-object-proxy: filename=lazy_object_proxy-1.8.0-cp310-cp310-linux_x86_64.whl size=58666 sha256=fc1a340d8352fa034fef62a82f62378a488bda7900b0d11c403b75b59be90d7b
Stored in directory: /home/matrix/.cache/pip/wheels/14/14/c4/2ae0f79a7e70a883c6f54368f6ec4b847018dbcf555546dded
Successfully built lazy-object-proxy
Installing collected packages: yapf, webencodings, wcwidth, text-unidecode, sortedcontainers, snowballstemmer, pyxdg, pytz, PyQtWebEngine-Qt5, PyQt5-Qt5, ptyprocess, pickleshare, mypy-extensions, mistune, ipython-genutils, fastjsonschema, backcall, alabaster, zipp, wurlitzer, wrapt, whatthepatch, watchdog, urllib3, ujson, traitlets, tornado, tomlkit, tomli, toml, tinycss2, textdistance, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, soupsieve, six, rtree, pyzmq, pyyaml, python-slugify, pyrsistent, PyQt5-sip, pylint-venv, pygments, pyflakes, pydocstyle, pycparser, pycodestyle, psutil, prompt-toolkit, pluggy, platformdirs, pexpect, pathspec, parso, pandocfilters, packaging, nest-asyncio, more-itertools, mccabe, markupsafe, lazy-object-proxy, jupyterlab-pygments, jellyfish, jeepney, isort, intervaltree, inflection, imagesize, idna, entrypoints, docutils, docstring-to-markdown, dill, diff-match-patch, defusedxml, decorator, debugpy, cloudpickle, click, charset-normalizer, chardet, certifi, babel, attrs, atomicwrites, three-merge, requests, qtpy, qstylizer, pytoolconfig, python-lsp-jsonrpc, python-dateutil, pyqt5, matplotlib-inline, jupyter-core, jsonschema, Jinja2, jedi, jaraco.classes, importlib-metadata, flake8, comm, cffi, bleach, black, binaryornot, beautifulsoup4, autopep8, astroid, sphinx, qtawesome, qdarkstyle, python-lsp-server, pyqtwebengine, pylint, nbformat, jupyter-client, ipython, cryptography, arrow, SecretStorage, rope, python-lsp-black, pyls-spyder, numpydoc, nbclient, jinja2-time, ipykernel, spyder-kernels, qtconsole, nbconvert, keyring, cookiecutter, spyder
Running setup.py install for jellyfish ... done
Running setup.py install for intervaltree ... done
Running setup.py install for atomicwrites ... done
Successfully installed Jinja2-3.1.2 PyQt5-Qt5-5.15.2 PyQt5-sip-12.11.0 PyQtWebEngine-Qt5-5.15.2 SecretStorage-3.3.3 alabaster-0.7.12 arrow-1.2.3 astroid-2.12.13 atomicwrites-1.4.1 attrs-22.1.0 autopep8-1.6.0 babel-2.11.0 backcall-0.2.0 beautifulsoup4-4.11.1 binaryornot-0.4.4 black-22.12.0 bleach-5.0.1 certifi-2022.12.7 cffi-1.15.1 chardet-5.1.0 charset-normalizer-2.1.1 click-8.1.3 cloudpickle-2.2.0 comm-0.1.2 cookiecutter-2.1.1 cryptography-38.0.4 debugpy-1.6.4 decorator-5.1.1 defusedxml-0.7.1 diff-match-patch-20200713 dill-0.3.6 docstring-to-markdown-0.11 docutils-0.19 entrypoints-0.4 fastjsonschema-2.16.2 flake8-5.0.4 idna-3.4 imagesize-1.4.1 importlib-metadata-5.1.0 inflection-0.5.1 intervaltree-3.1.0 ipykernel-6.19.2 ipython-7.34.0 ipython-genutils-0.2.0 isort-5.11.2 jaraco.classes-3.2.3 jedi-0.18.2 jeepney-0.8.0 jellyfish-0.9.0 jinja2-time-0.2.0 jsonschema-4.17.3 jupyter-client-7.4.8 jupyter-core-5.1.0 jupyterlab-pygments-0.2.2 keyring-23.11.0 lazy-object-proxy-1.8.0 markupsafe-2.1.1 matplotlib-inline-0.1.6 mccabe-0.7.0 mistune-2.0.4 more-itertools-9.0.0 mypy-extensions-0.4.3 nbclient-0.7.2 nbconvert-7.2.6 nbformat-5.7.0 nest-asyncio-1.5.6 numpydoc-1.5.0 packaging-22.0 pandocfilters-1.5.0 parso-0.8.3 pathspec-0.10.3 pexpect-4.8.0 pickleshare-0.7.5 platformdirs-2.6.0 pluggy-1.0.0 prompt-toolkit-3.0.36 psutil-5.9.4 ptyprocess-0.7.0 pycodestyle-2.9.1 pycparser-2.21 pydocstyle-6.1.1 pyflakes-2.5.0 pygments-2.13.0 pylint-2.15.8 pylint-venv-2.3.0 pyls-spyder-0.4.0 pyqt5-5.15.7 pyqtwebengine-5.15.6 pyrsistent-0.19.2 python-dateutil-2.8.2 python-lsp-black-1.2.1 python-lsp-jsonrpc-1.0.0 python-lsp-server-1.6.0 python-slugify-7.0.0 pytoolconfig-1.2.4 pytz-2022.6 pyxdg-0.28 pyyaml-6.0 pyzmq-24.0.1 qdarkstyle-3.0.3 qstylizer-0.2.2 qtawesome-1.2.1 qtconsole-5.4.0 qtpy-2.3.0 requests-2.28.1 rope-1.6.0 rtree-1.0.1 six-1.16.0 snowballstemmer-2.2.0 sortedcontainers-2.4.0 soupsieve-2.3.2.post1 sphinx-5.3.0 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 spyder-5.4.0 spyder-kernels-2.4.0 text-unidecode-1.3 textdistance-4.5.0 three-merge-0.1.1 tinycss2-1.2.1 toml-0.10.2 tomli-2.0.1 tomlkit-0.11.6 tornado-6.2 traitlets-5.7.1 ujson-5.6.0 urllib3-1.26.13 watchdog-2.2.0 wcwidth-0.2.5 webencodings-0.5.1 whatthepatch-1.0.3 wrapt-1.14.1 wurlitzer-3.0.3 yapf-0.32.0 zipp-3.11.0
Launch Spyder
(spyder-env) matrix@matrix-Standard-PC-i440FX-PIIX-1996:~$ spyder
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
(spyder-env) matrix@matrix-Standard-PC-i440FX-PIIX-1996:~$
Paste Traceback/Error Below (if applicable)
PASTE TRACEBACK HERE
Versions
- Spyder version:
- Python version:
- Qt version:
- PyQt version:
- Operating System name/version: Ubuntu 22.04 / 5.15.0-56-generic
Dependencies
PASTE DEPENDENCIES HERE
Hey @pemd-sys, thanks for reporting. I think this happens because you're running a Wayland session and not an Xorg one, which can be inferred from the first line of the messages shows when Spyder is launched:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
The message also seems to give the solution to your problem, i.e. that you need to start Spyder like this:
QT_QPA_PLATFORM=wayland spyder
Please try that and let us know if it works for you.
Thank you @ccordoba12. Spyder Works ! I got a few messages in the terminal (see below) when i run with the suggested command, but otherwise it loads just fine. On another note is there a install guide for using it inside a docker. I got a scientific package which runs inside docker container and i was wondering if there is already documented guide to doing this properly.
(spyder-env) matrix@matrix-Standard-PC-i440FX-PIIX-1996:~$ QT_QPA_PLATFORM=wayland spyder &
[1] 2414
(spyder-env) matrix@matrix-Standard-PC-i440FX-PIIX-1996:~$ Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
fromIccProfile: failed minimal tag size sanity
Wayland does not support QWindow::requestActivate()
Thank you @ccordoba12. Spyder Works !
Great! I'm glad it works for you now.
On another note is there a install guide for using it inside a docker
No, there isn't. But in that case I wouldn't recommend you to install Spyder inside your docker instance. Instead, you should install Spyder-kernels and then connect to it using our instructions here.
Hm, for me it doesn't work even when specifying the Qt platform plugin:
(base) berniyh@orionis:~ [i] $ QT_QPA_PLATFORM=wayland spyder
Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: minimal, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb, eglfs, minimalegl, webgl.
zsh: IOT instruction (core dumped) QT_QPA_PLATFORM=wayland spyder
Just did a fresh anaconda installation + conda update. Out of the given options, only eglfs starts up, but it's fullscreen and not really usable. Also, I removed ~/.config/spyder-py3, just to be sure it's not some config problem, but that didn't help either.
Here is what I get with coredumpctl: https://gist.github.com/berniyh/f9f2e0e0a47ea185a3ea710b33bebd66
Ok, I got it working. The problem, which I already suspected, but wasn't sure about, was that it tried to use the system Qt instead of the one by anaconda.
Doing unset QT_PLUGIN_PATH
in the anaconda environment did the trick and spyder came up fine.
Great! I'm glad you figured it out how to solve that problem.
QT_QPA_PLATFORM=wayland spyder
Based on yours recommendation. It works! Thanks a Lot