Hallo zusammen,
nach meinem Upgrade auf Jammy läuft die Python-IDE Spyder leider nicht mehr. (Installation aus den Paketquellen ohne Anaconda)
Ich hatte zunächst Überreste von 21.10 in Verdacht und habe die Pakete neu installiert, allerdings ohne Erfolg. Das Problem lässt sich auch bei einer frischen Jammy-Installation reproduzieren. Installation über pip schlägt fehl und Installation von Anaconda schlägt auch fehl. (Sind aber auch beides nicht meine favorisierten Installationswege)
$ spyder Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Traceback (most recent call last): File "/usr/bin/spyder", line 33, in <module> sys.exit(load_entry_point('spyder==4.2.1', 'gui_scripts', 'spyder')()) File "/usr/lib/python3/dist-packages/spyder/app/start.py", line 213, in main mainwindow.main(options, args) File "/usr/lib/python3/dist-packages/spyder/app/mainwindow.py", line 3624, in main mainwindow = create_window(app, splash, options, args) File "/usr/lib/python3/dist-packages/spyder/app/mainwindow.py", line 3482, in create_window main.setup() File "/usr/lib/python3/dist-packages/spyder/app/mainwindow.py", line 788, in setup from spyder.plugins.console.plugin import Console File "/usr/lib/python3/dist-packages/spyder/plugins/console/plugin.py", line 29, in <module> from spyder.utils.environ import EnvDialog File "/usr/lib/python3/dist-packages/spyder/utils/environ.py", line 19, in <module> from spyder.plugins.variableexplorer.widgets.collectionseditor import ( File "/usr/lib/python3/dist-packages/spyder/plugins/variableexplorer/widgets/collectionseditor.py", line 39, in <module> from spyder_kernels.utils.nsview import ( ImportError: cannot import name 'DataFrame' from 'spyder_kernels.utils.nsview' (/home/user/.local/lib/python3.10/site-packages/spyder_kernels/utils/nsview.py)
$ apt policy spyder spyder: Installiert: 4.2.1+dfsg1-3 Installationskandidat: 4.2.1+dfsg1-3 Versionstabelle: *** 4.2.1+dfsg1-3 500 500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages 500 http://de.archive.ubuntu.com/ubuntu jammy/universe i386 Packages 100 /var/lib/dpkg/status
$ python3 -m pip freeze alabaster==0.7.12 appdirs==1.4.4 apturl==0.5.2 arrow==1.2.2 astroid==2.11.4 atomicwrites==1.4.0 attrs==21.4.0 autopep8==1.6.0 Babel==2.8.0 backcall==0.2.0 bcrypt==3.2.0 beautifulsoup4==4.10.0 beniget==0.4.1 binaryornot==0.4.4 black==22.3.0 bleach==5.0.0 blinker==1.4 Brlapi==0.8.3 Brotli==1.0.9 certifi==2020.6.20 chardet==4.0.0 chrome-gnome-shell==0.0.0 click==8.0.3 cloudpickle==2.0.0 colorama==0.4.4 command-not-found==0.3 cookiecutter==1.7.3 cryptography==3.4.8 cupshelpers==1.0 cycler==0.11.0 dbus-python==1.2.18 debugpy==1.6.0 decorator==5.1.1 defer==1.0.6 defusedxml==0.7.1 diff-match-patch==20200713 dill==0.3.4 distro==1.7.0 distro-info===1.1build1 docutils==0.17.1 duplicity==0.8.21 entrypoints==0.4 fasteners==0.14.1 fastjsonschema==2.15.3 flake8==4.0.1 fonttools==4.29.1 fs==2.4.12 future==0.18.2 gast==0.5.2 gpg===1.16.0-unknown helpdev==0.7.1 html5lib==1.1 httplib2==0.20.2 idna==3.3 imagesize==1.3.0 importlib-metadata==4.6.4 inflection==0.5.1 intervaltree==3.1.0 ipykernel==6.13.0 ipython==7.33.0 ipython-genutils==0.2.0 isort==5.10.1 jedi==0.18.1 jeepney==0.7.1 jellyfish==0.9.0 Jinja2==3.0.3 jinja2-time==0.2.0 jsonschema==4.4.0 jupyter-client==7.3.0 jupyter-core==4.10.0 jupyterlab-pygments==0.2.2 keyring==23.5.0 kiwisolver==1.3.2 language-selector==0.1 launchpadlib==1.10.16 lazr.restfulclient==0.14.4 lazr.uri==1.0.6 lazy-object-proxy==1.7.1 lockfile==0.12.2 logilab-common==1.8.2 louis==3.20.0 lxml==4.8.0 lz4==3.1.3+dfsg macaroonbakery==1.3.1 Mako==1.1.3 MarkupSafe==2.0.1 matplotlib==3.5.1 matplotlib-inline==0.1.3 mccabe==0.6.1 meld==3.20.4 mercurial==6.1.1 mistune==0.8.4 mock==4.0.3 monotonic==1.6 more-itertools==8.10.0 mpmath==0.0.0 mypy-extensions==0.4.3 nbclient==0.6.2 nbconvert==6.5.0 nbformat==5.4.0 nest-asyncio==1.5.5 netifaces==0.11.0 notify2==0.3 Nuitka==0.6.19.1 numpy==1.21.5 numpydoc==1.3.1 oauthlib==3.2.0 olefile==0.46 packaging==21.3 pandas==1.4.2 pandocfilters==1.5.0 paramiko==2.9.3 parso==0.8.3 pathspec==0.9.0 pbr==5.8.0 pep8==1.7.1 pexpect==4.8.0 pickleshare==0.7.5 Pillow==9.0.1 platformdirs==2.5.2 pluggy==1.0.0 ply==3.11 poyo==0.5.0 prompt-toolkit==3.0.29 protobuf==3.12.4 psutil==5.9.0 ptyprocess==0.7.0 py==1.10.0 pycairo==1.20.1 pycodestyle==2.8.0 pycups==2.0.1 pydocstyle==6.1.1 pyflakes==2.4.0 Pygments==2.11.2 PyGObject==3.42.0 PyJWT==2.3.0 pylint==2.13.8 pyls-black==0.4.6 pyls-spyder==0.4.0 pymacaroons==0.13.0 PyNaCl==1.5.0 pyparsing==2.4.7 PyQt5==5.15.6 PyQt5-sip==12.9.1 PyQtWebEngine==5.15.5 PyQtWebEngine-Qt5==5.15.2 pyRFC3339==1.1 pyrsistent==0.18.1 pysvn==1.9.15 python-apt==2.3.0+ubuntu2 python-dateutil==2.8.2 python-debian===0.1.43ubuntu1 python-jsonrpc-server==0.4.0 python-language-server==0.36.2 python-lsp-black==1.2.1 python-lsp-jsonrpc==1.0.0 python-lsp-server==1.4.1 python-slugify==6.1.2 pythran==0.10.0 pytz==2022.1 pyxdg==0.27 PyYAML==5.4.1 pyzmq==22.3.0 QDarkStyle==3.0.3 qstylizer==0.2.1 QtAwesome==1.1.1 qtconsole==5.3.0 QtPy==2.1.0 Recoll==1.31.6 recollchm==0.8.4.1+git reportlab==3.6.8 requests==2.25.1 roman==3.3 rope==1.0.0 Rtree==1.0.0 scipy==1.8.0 SCons==4.0.1 scour==0.38.2 SecretStorage==3.3.1 six==1.16.0 snowballstemmer==2.2.0 sortedcontainers==2.4.0 soupsieve==2.3.1 Sphinx==4.5.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==4.2.1 spyder-kernels==2.3.0 sympy==1.9 systemd-python==234 testpath==0.5.0 text-unidecode==1.3 textdistance==4.2.2 three-merge==0.1.1 tinycss2==1.1.1 toml==0.10.2 tomli==2.0.1 tornado==6.1 tqdm==4.57.0 traitlets==5.1.1 typing-extensions==3.10.0.2 ubuntu-advantage-tools==27.8 ubuntu-drivers-common==0.0.0 ufoLib2==0.13.1 ufw==0.36.1 ujson==5.2.0 unattended-upgrades==0.1 unicodedata2==14.0.0 urllib3==1.26.5 usb-creator==0.3.7 vboxapi==1.0 wadllib==1.3.6 watchdog==2.1.7 wcwidth==0.2.5 webencodings==0.5.1 wrapt==1.14.1 wurlitzer==3.0.2 xdg==5 xkit==0.0.0 xlrd==1.2.0 yapf==0.32.0 zipp==1.0.0
Die nsview.py Datei hat 700 Zeilen und wirft bei einem direkten Python-Aufruf keine Fehler raus. "DataFrame" klingt nach pandas, das ist installiert (s.o.).
Hat jemand eine Idee?
Scheinbar gibt es mehrere Probleme gerade:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1968479