Skip to content

Network Explorer not available in the latest release of Orange and add-onΒ #288

@ajdapretnar

Description

@ajdapretnar

Network Explorer isn't available in a freshly installed add-on on a freshly installed Orange. I assume the issue is in Numpy 2 compiling.

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.3 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/Orange/canvas/__main__.py", line 470, in <module>
    sys.exit(main())
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/Orange/canvas/__main__.py", line 466, in main
    return OMain().run(argv)
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/Orange/canvas/__main__.py", line 356, in run
    super().run(argv)
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/orangecanvas/main.py", line 218, in run
    registry = self.run_discovery()
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/orangecanvas/main.py", line 166, in run_discovery
    widget_discovery.run(self.config.widgets_entry_points())
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/orangecanvas/registry/discovery.py", line 141, in run
    self.process_category_package(
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/orangecanvas/registry/discovery.py", line 223, in process_category_package
    for desc in desc_iter:
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/orangecanvas/registry/discovery.py", line 298, in iter_widget_descriptions
    module = asmodule(name)
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/orangecanvas/registry/discovery.py", line 509, in asmodule
    return __import__(module, fromlist=[""])
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/orangecontrib/network/widgets/OWNxExplorer.py", line 21, in <module>
    from orangecontrib.network.network.layout import fruchterman_reingold
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/orangecontrib/network/network/layout/__init__.py", line 5, in <module>
    from ._fr_layout import fruchterman_reingold_step

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions