Closed pcace closed 2 years ago
This affects Click >=8.1.0, see https://click.palletsprojects.com/en/8.1.x/changes/#version-8-1-0
@pcace as a temporary workaround you could downgrade your Click library to < 8.1.0, until cjio is upgraded with the Click API changes.
On Ubuntu 20.04 this gave me:
$ pip install cjio
Collecting cjio
Downloading cjio-0.7.4-py2.py3-none-any.whl (44 kB)
|████████████████████████████████| 44 kB 2.1 MB/s
Requirement already satisfied: Click in ./.local/lib/python3.8/site-packages (from cjio) (7.1.2)
Installing collected packages: cjio
Successfully installed cjio-0.7.4
$ cjio
Traceback (most recent call last):
File "/home/me/.local/bin/cjio", line 5, in <module>
from cjio.cjio import cli
File "/home/me/.local/lib/python3.8/site-packages/cjio/cjio.py", line 58, in <module>
@cli.result_callback()
TypeError: 'NoneType' object is not callable
I could fix it with pip install --upgrade click
which gave me click-8.1.3
.
I guess cjio
needs to specify a new minimum click
version?
hmmm, I had tested this on macOS and it works with click=8.0.3, strange.
But still forcing 8.1 in future release (b7d85c27ae2e7ca88e4e3ad06e3b969ebf4f8cb8), thanks for reporting
Guess it happened between version 7 and that 8.1. :) Thanks!
Describe the bug cjio seems to not run on win11 with the following errormessage:
tried with python3.7, 3.8 and 3.9
cjio version What does
cjio --version
print? Or did you install from a git branch?Desktop (please complete the following information):