ducha-aiki / pixelstitch

Simple tool for labelling the correspondences
Apache License 2.0
16 stars 3 forks source link

Package versions #1

Open Dawars opened 3 months ago

Dawars commented 3 months ago

I'm trying to install this package but the points don't get added after the click using the latest jupyter lab and other dependencies.

Could you give me the package versions you used?

I've tried some of these configurations but building the jupyter-matplotlib extension failed: https://github.com/matplotlib/ipympl/blob/main/README.md#install-an-old-jupyterlab-extension

ducha-aiki commented 3 months ago

I guess that JupyterLab is an issue - I have never worked with it, as many things, which work well in classical Jupyter Notebook do not work there. So I pretend that JupyterLab doesn't exist.

Dawars commented 3 months ago

I managed to get it to work. The problem was with recent matplotlib versions (3.5+)

  1. conda create -n pixstitch python=3.10
  2. pip install opencv-python numpy\<2 jupyter\<2 notebook\<7 ipympl matplotlib\<3.5
  3. pip install pixelstitch kornia_moons==0.2.4
  4. jupyter nbextension install --py --symlink --sys-prefix --overwrite ipympl
  5. jupyter nbextension enable ipympl --py --sys-prefix
Click here for pip list ``` Package Version ------------------------- -------------- anyio 4.4.0 appnope 0.1.4 argon2-cffi 23.1.0 argon2-cffi-bindings 21.2.0 arrow 1.3.0 asttokens 2.4.1 attrs 24.1.0 beautifulsoup4 4.12.3 bleach 6.1.0 cffi 1.16.0 comm 0.2.2 contourpy 1.2.1 cycler 0.12.1 debugpy 1.8.3 decorator 5.1.1 defusedxml 0.7.1 entrypoints 0.4 exceptiongroup 1.2.2 executing 2.0.1 fastjsonschema 2.20.0 filelock 3.15.4 fonttools 4.53.1 fqdn 1.5.1 fsspec 2024.6.1 idna 3.7 ipykernel 6.29.5 ipympl 0.9.4 ipython 8.26.0 ipython-genutils 0.2.0 ipywidgets 8.1.3 isoduration 20.11.0 jedi 0.19.1 Jinja2 3.1.4 jsonpointer 3.0.0 jsonschema 4.23.0 jsonschema-specifications 2023.12.1 jupyter 1.0.0 jupyter_client 7.4.9 jupyter-console 6.6.3 jupyter_core 5.7.2 jupyter-events 0.10.0 jupyter_server 2.14.2 jupyter_server_terminals 0.5.3 jupyterlab_pygments 0.3.0 jupyterlab_widgets 3.0.11 kiwisolver 1.4.5 kornia 0.7.3 kornia-moons 0.2.4 kornia_rs 0.1.5 MarkupSafe 2.1.5 matplotlib 3.4.3 matplotlib-inline 0.1.7 mistune 3.0.2 mpmath 1.3.0 nbclassic 1.1.0 nbclient 0.10.0 nbconvert 7.16.4 nbformat 5.10.4 nest-asyncio 1.6.0 networkx 3.3 notebook 6.5.7 notebook_shim 0.2.4 numpy 1.26.4 opencv-python 4.10.0.84 overrides 7.7.0 packaging 24.1 pandocfilters 1.5.1 parso 0.8.4 pexpect 4.9.0 pillow 10.4.0 pip 24.0 pixelstitch 0.1.3 platformdirs 4.2.2 prometheus_client 0.20.0 prompt_toolkit 3.0.47 psutil 6.0.0 ptyprocess 0.7.0 pure_eval 0.2.3 pycparser 2.22 Pygments 2.18.0 pyparsing 3.1.2 python-dateutil 2.9.0.post0 python-json-logger 2.0.7 PyYAML 6.0.1 pyzmq 26.1.0 qtconsole 5.5.2 QtPy 2.4.1 referencing 0.35.1 rfc3339-validator 0.1.4 rfc3986-validator 0.1.1 rpds-py 0.19.1 Send2Trash 1.8.3 setuptools 72.1.0 six 1.16.0 sniffio 1.3.1 soupsieve 2.5 stack-data 0.6.3 sympy 1.13.1 terminado 0.18.1 tinycss2 1.3.0 torch 2.2.2 tornado 6.4.1 traitlets 5.14.3 types-python-dateutil 2.9.0.20240316 typing_extensions 4.12.2 uri-template 1.3.0 wcwidth 0.2.13 webcolors 24.6.0 webencodings 0.5.1 websocket-client 1.8.0 wheel 0.43.0 widgetsnbextension 4.0.11 ```

P.S. It even works with jupyter lab😁

ducha-aiki commented 3 months ago

Nice, thank you!