Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdot - dependency is not working #1496

Closed
brainbow1 opened this issue Jun 12, 2021 · 6 comments
Closed

xdot - dependency is not working #1496

brainbow1 opened this issue Jun 12, 2021 · 6 comments

Comments

@brainbow1
Copy link

I installed zim wiki in debian bullseye, via the debian repositories.
Before that I installed xdot and graphviz from the debian repositories.

When I go to settings > add ons / extensions > link structure add on
it shows me:
graphviz - OK (green)
xdot - missing / not fulfilled (red)

sorry for my bad english... im using the german version of zim.

Hope for any help.

best regards!

@jaap-karssenberg
Copy link
Member

jaap-karssenberg commented Jun 18, 2021 via email

@brainbow1
Copy link
Author

brainbow1 commented Jun 18, 2021

thank u for the answer!
I checked that terminal command:

~$ python3 -m xdot Traceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 188, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.9/runpy.py", line 147, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/python3.9/runpy.py", line 111, in _get_module_details __import__(pkg_name) File "/usr/lib/python3/dist-packages/xdot/__init__.py", line 26, in <module> from . import ui File "/usr/lib/python3/dist-packages/xdot/ui/__init__.py", line 3, in <module> from .window import DotWidget, DotWindow File "/usr/lib/python3/dist-packages/xdot/ui/window.py", line 40, in <module> from . import actions File "/usr/lib/python3/dist-packages/xdot/ui/actions.py", line 21, in <module> from xdot.ui.elements import Jump File "/usr/lib/python3/dist-packages/xdot/ui/elements.py", line 29, in <module> import numpy ModuleNotFoundError: No module named 'numpy'

python3 is installed in version 3.9.2-3

@jaap-karssenberg
Copy link
Member

jaap-karssenberg commented Jun 18, 2021 via email

@brainbow1
Copy link
Author

alright will do that, thank u for the information!!

@stefanor
Copy link

Thanks for the email :)

I missed the addition of numpy in 1.2 (which was silly, it's the first line of the diff).

It would be nice to have dependencies documented in the setuptools metadata, to avoid these kind of mistakes.

@brainbow1
Copy link
Author

now I got the update with numpy and xdot via respositories of debian 11! thank u so much for ur effort! all the best!

@introt introt closed this as completed Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants