[MacPorts] #64453: py39-spyder installs correctly but fails during execution due to missing dependencies
MacPorts
noreply at macports.org
Sat Jan 15 20:31:21 UTC 2022
#64453: py39-spyder installs correctly but fails during execution due to missing
dependencies
------------------------+-------------------------
Reporter: wcvinyard | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: HighSierra | Port: py39-spyder
------------------------+-------------------------
macbookpro late 2011
macOS HighSierra 10.13.6
installed py39-spyder
attempted to start spyder which failed with following:
{{{
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/pkg_resources/__init__.py", line 573, in _build_master
ws.require(__requires__)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/pkg_resources/__init__.py", line 891, in require
needed = self.resolve(parse_requirements(requirements))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/pkg_resources/__init__.py", line 782, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (jupyter-client 6.1.12
(/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages), Requirement.parse('jupyter-client>=7.1.0'), {'spyder-
kernels'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
. . .
pkg_resources.DistributionNotFound: The 'jupyter-client>=7.1.0'
distribution was not found and is required by spyder-kernels
}}}
Note the "...Requirement.parse('jupyter-client>=7.1.0')..."
and the "...'jupyter-client>=7.1.0' distribution was not found and is
required by spyder-kernels"
for macport version 2.7.1 the highest version of jupyter-client appears to
be 6.1.12
sudo port search jupyter_client
py38-jupyter_client @6.1.12 (python)
py39-jupyter_client @6.1.12 (python)
py310-jupyter_client @6.1.12 (python)
$ sudo port info py39-spyder-kernels
py39-spyder-kernels @2.2.1 (python, devel)
Description: Jupyter kernels for Spyder's console.
Homepage: https://github.com/spyder-ide/spyder-kernels
Build Dependencies: py39-setuptools
Library Dependencies: py39-cloudpickle, py39-ipykernel, py39-ipython,
py39-jupyter_client,
py39-wurlitzer, py39-zmq, python39
Platforms: darwin
License: MIT
Maintainers: Email: reneeotten at macports.org, GitHub: reneeotten
Policy: openmaintainer
Not sure if following tickets are relevant to this or not, but just in
case:
#64446
#64139
Recommendation from #64446 was to install nodejs14 vice nodejs16 in order
to get qt5-qtwebengine to install . . . which I did and resulted in
successful install of all dependencies for py39-spyder
--
Ticket URL: <https://trac.macports.org/ticket/64453>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list