I get the following error when launching spyder3, running the latest
snapshot and ran pkg_add -u. I think it's to do with the recent switch to
python3.10 as the default but I'm not sure.
Is it possible to launch with 3.9 as a quick work around?

Thanks,
Matthew

$ spyder3
Traceback (most recent call last):
  File "/usr/local/bin/spyder3", line 33, in <module>
    sys.exit(load_entry_point('spyder==3.3.3', 'gui_scripts', 'spyder3')())
  File "/usr/local/bin/spyder3", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/local/lib/python3.10/importlib/metadata/__init__.py", line
171, in load
    module = import_module(match.group('module'))
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in
_call_with_frames_removed
  File "/usr/local/lib/python3.10/site-packages/spyder/app/start.py", line
27, in <module>
    from spyder.config.main import CONF
  File "/usr/local/lib/python3.10/site-packages/spyder/config/main.py",
line 21, in <module>
    from spyder.config.fonts import BIG, MEDIUM, MONOSPACE, SANS_SERIF
  File "/usr/local/lib/python3.10/site-packages/spyder/config/fonts.py",
line 14, in <module>
    from spyder.config.utils import is_ubuntu
  File "/usr/local/lib/python3.10/site-packages/spyder/config/utils.py",
line 15, in <module>
    from spyder_kernels.utils import iofuncs
  File
"/usr/local/lib/python3.10/site-packages/spyder_kernels/utils/iofuncs.py",
line 44, in <module>
    from spyder_kernels.py3compat import getcwd, pickle, PY2, to_text_string
  File
"/usr/local/lib/python3.10/site-packages/spyder_kernels/py3compat.py",
line 79, in <module>
    from collections import MutableMapping
ImportError: cannot import name 'MutableMapping' from 'collections'
(/usr/local/lib/python3.10/collections/__init__.py)

Reply via email to