When running snakemake --help the following error shows:
Traceback (most recent call last):
File "/Users/clange/dev/reana-tutorial/.direnv/python-3.11/bin/snakemake", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Users/clange/dev/reana-tutorial/.direnv/python-3.11/lib/python3.11/site-packages/snakemake/__init__.py", line 2736, in main
parser = get_argument_parser()
^^^^^^^^^^^^^^^^^^^^^
File "/Users/clange/dev/reana-tutorial/.direnv/python-3.11/lib/python3.11/site-packages/snakemake/__init__.py", line 1607, in get_argument_parser
lp_solvers = pulp.list_solvers(onlyAvailable=True)
^^^^^^^^^^^^^^^^^
AttributeError: module 'pulp' has no attribute 'list_solvers'. Did you mean: 'listSolvers'?
This is what I did using Python 3.11.7:
This installs the following packages:
When running
snakemake --help
the following error shows:The fix is to require
pulp<2.8.0
: