Closed vwbusguy closed 1 year ago
The workaround I mentioned above no longer works. It doesn't seem to be possible to install hide_code on a current version of Jupyter at all at the moment.
It looks like I was able to get it installed thanks to @fdion's fork: https://github.com/fdion/hide_code/tree/compatibility
pip install git+https://github.com/fdion/hide_code@compatibility
I have some time this summer to update hide_code. This package needs some serious housekeeping.
Unfortunately, installing and enabling hide-code in a current version of Jupyter will cause Jupyter Server to crash because it requires an old version of traitlets:
It will start if traitlets is force upgraded
pip -U traitlets
after installing hide_code, though it will throw this error:hide_code then is then successfully loaded, but I haven't tested everything from there:
So, for now, the workaround seem to be
pip install -U traitlets
after installing this plugin and before starting jupyter server and ignoring the pip warning. It seems updating the traitlets dependency version should be all this needs to make it compatible moving forward?