Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#74007 - [spyder] crash at strat-up

Attached to Project: Arch Linux
Opened by Simon (Giggi) - Wednesday, 02 March 2022, 09:03 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 02 March 2022, 09:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Description: spyder crach at start-up

spyder crach with the following error message:

/usr/lib/python3.10/site-packages/pkg_resources/ PkgResourcesDeprecationWarning: 2.0.5-build-libtorrent-rasterbar-src-libtorrent-rasterbar-2.0.5-bindings-python is an invalid version and will not be supported in a future release
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pkg_resources/", line 573, in _build_master
File "/usr/lib/python3.10/site-packages/pkg_resources/", line 891, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.10/site-packages/pkg_resources/", line 782, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (mccabe 0.7.0 (/usr/lib/python3.10/site-packages), Requirement.parse('mccabe<0.7.0,>=0.6.0'), {'flake8'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/spyder", line 33, in <module>
sys.exit(load_entry_point('spyder==5.2.0', 'gui_scripts', 'spyder')())
File "/usr/bin/spyder", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/", line 162, in load
module = import_module('module'))
File "/usr/lib/python3.10/importlib/", 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/lib/python3.10/site-packages/spyder/app/", line 47, in <module>
from spyder.utils.external import lockfile
File "/usr/lib/python3.10/site-packages/spyder/utils/external/", line 31, in <module>
from spyder.utils.programs import is_spyder_process
File "/usr/lib/python3.10/site-packages/spyder/utils/", line 28, in <module>
import pkg_resources
File "/usr/lib/python3.10/site-packages/pkg_resources/", line 3266, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.10/site-packages/pkg_resources/", line 3240, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/pkg_resources/", line 3278, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.10/site-packages/pkg_resources/", line 575, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.10/site-packages/pkg_resources/", line 588, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.10/site-packages/pkg_resources/", line 782, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)

Additional info:
* package version(s): spyder 5.2.0-2

Steps to reproduce:

Start spyder from a console.
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 02 March 2022, 09:30 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#73953