FS#74839 - Spyder with missing dependency

Attached to Project: Arch Linux
Opened by Leandro Cunha (leandrocunha) - Tuesday, 24 May 2022, 06:16 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 24 May 2022, 14:19 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Please add python-ipython-genutils as dependency to Spyder.

Additional info:
* package version(s): 5.3.0-2

Steps to reproduce:
After installation and running by command terminal it informs the absence of this dependency, please consider adding it and thanks. It has been added this package and Spyder is working perfectly now here.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 24 May 2022, 14:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-qtconsole 5.3.0-2
Comment by Antonio Rojas (arojas) - Tuesday, 24 May 2022, 07:11 GMT
Please always post full, literal error messages when reporting issues
Comment by Leandro Cunha (leandrocunha) - Tuesday, 24 May 2022, 14:13 GMT
Ok, the problem already solved when python-ipython-genutils was installed, I uninstalled and problem appeared.

Traceback (most recent call last):
File "/usr/bin/spyder", line 33, in <module>
sys.exit(load_entry_point('spyder==5.3.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/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/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/lib/python3.10/site-packages/spyder/app/start.py", line 47, in <module>
from spyder.utils.external import lockfile
File "/usr/lib/python3.10/site-packages/spyder/utils/external/lockfile.py", line 31, in <module>
from spyder.utils.programs import is_spyder_process
File "/usr/lib/python3.10/site-packages/spyder/utils/programs.py", line 28, in <module>
import pkg_resources
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3317, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3291, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3329, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 573, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 891, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'ipython_genutils' distribution was not found and is required by qtconsole

Loading...