maycuatroi / drawio

The Unlicense
14 stars 0 forks source link

Pip package missing module #3

Open toumi-hichem opened 4 months ago

toumi-hichem commented 4 months ago

Describe the bug Missing modules, there is inconsistencies between the pip package and the one in github. The one in pip gives you a missing module error, integrations, and the one from the github doesn't work because of selenium

To Reproduce Steps to reproduce the behavior:

  1. pip install drawio-python
  2. import this: from drawio.itergrations.mermaid.mermaid_controller import MermaidController
  3. See error: ModuleNotFoundError: No module named 'drawio.itergrations'; 'drawio' is not a package

Expected behavior The example code to work

Screenshots

image

Desktop (please complete the following information):

maycuatroi commented 4 months ago

@toumi-hichem I have update the release to the pipy, You can re-install the lib to use

pip install drawio-python -U
alexreply commented 2 months ago

Even with reinstalling the lib i still have the same issue of missing import of 'drawio.itergrations'

disperaller commented 3 weeks ago

same issue, doesn't work cannot import name 'Graph' from 'drawio'