unresolved PyYAML dependencies
See original GitHub issuenot sure what to do about that…
nuc01:multirepo: west
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 779, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (PyYAML 3.12 (/usr/lib64/python3.6/site-packages), Requirement.parse('PyYAML==3.11'), {'pykwalify'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/nashif/.local/bin/west", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
@_call_aside
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 572, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 585, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 779, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (PyYAML 3.12 (/usr/lib64/python3.6/site-packages), Requirement.parse('PyYAML==3.11'), {'pykwalify'})
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
pyyaml dependency error while executing with python ...
I am getting the following error while trying to package and execute a script with PEX. Failed to execute PEX file. Needed macosx_10_14_x86_64- ......
Read more >Package requirements inspection warning for Python ...
Workaround: It can be special-case removed by adding factory to the Ignore packages of that warning in PyCharm settings. Longer term, should the...
Read more >QGIS 2.99 dev python import processing fails with ImportError
I'm starting to think it might have something to do with the yaml dependency, qgis 3 seems to be using the python 2...
Read more >How to identify and resolve a dependency conflict
Find Divio's how-to guide to identifying and resolving a dependency conflict. Learn what steps to take if a deployment in the cloud or...
Read more >CentOS 8: Use ansible_playbook_python for localhost ... - Gerrit
The kolla-ansible role also has an implicit dependency on PyYAML for managing kolla passwords. This change uses ansible_playbook_python as the Python ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@marc-hb thanks for tracking that down and apologies for not finding it myself. It hadn’t occurred to me to look specifically at pyocd.
That really didn’t take long to find:
https://github.com/pyocd/cmsis-pack-manager/blob/65b3e3eb5/setup.cfg#L40