Error: ContextualVersionConflict ruamel/schema-salad
See original GitHub issueExpected Behavior
cwltool should run and show command line usage
Actual Behavior
cwltool fails with this error:
pkg_resources.ContextualVersionConflict: (ruamel.yaml 0.15.15 (/tmp/env/lib/python2.7/site-packages), Requirement.parse('ruamel.yaml<=0.15.2,>=0.12.4'), set(['schema-salad']))
Workflow Code
virtualenv env
source env/bin/activate
pip install --upgrade cwltool
cwltool
Full Traceback
Traceback (most recent call last):
File "/tmp/env/bin/cwltool", line 11, in <module>
sys.exit(main())
File "/tmp/env/local/lib/python2.7/site-packages/cwltool/main.py", line 661, in main
_logger.info(versionfunc())
File "/tmp/env/local/lib/python2.7/site-packages/cwltool/main.py", line 574, in versionstring
pkg = pkg_resources.require("cwltool")
File "/tmp/env/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 943, in require
needed = self.resolve(parse_requirements(requirements))
File "/tmp/env/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 834, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (ruamel.yaml 0.15.15 (/tmp/env/lib/python2.7/site-packages), Requirement.parse('ruamel.yaml<=0.15.2,>=0.12.4'), set(['schema-salad']))
Your Environment
Tried on both macos and Ubuntu 16.04.1 LTS
- cwltool version: fails with the same error.
Notes:
If I do this first everything works fine:
pip install ruamel.yaml==0.15.2
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
common-workflow-language/common-workflow-language - Gitter
I'm struggling to upgrade cwltool stain@biggiebuntu:~$ pip install --upgrade cwltool ... Collecting ruamel.yaml>=0.12.4 (from cwltool) Using cached ...
Read more >ContextualVersionConflict when importing guesslang package
When importing guesslang package, I've got ContextualVersionConflict error about html5lib package. ContextualVersionConflict: (html5lib ...
Read more >ContextualVersionConflict in Google Colab · Issue #57 - GitHub
Hi, I'm having a lot of trouble with this package on Google Colab: !pip install --quiet niwidgets from niwidgets import NiftiWidget ...
Read more >cwl-airflow from Barski-lab - GithubHelp
hello, when i try to install cwl-airflow, this problem occur. i pre install ... rich-9.2.0 ruamel.yaml-0.16.5 schema-salad-7.1.20210518142926 setproctit ...
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 FreeTop 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
Top GitHub Comments
Thanks for reporting. I’ve created a patch that should take care of this: https://github.com/common-workflow-language/cwltool/pull/450
Thanks for the update @Unode , and again my apologies. Thank you @johnbradley for the report.