8000 graph-tool: problem with package and numpy · Issue #5677 · getsolus/packages · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

graph-tool: problem with package and numpy #5677

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 clic 8000 king “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

Open
1 task done
pmaccarron opened this issue May 24, 2025 · 0 comments
Open
1 task done

graph-tool: problem with package and numpy #5677

pmaccarron opened this issue May 24, 2025 · 0 comments
Labels
Packaging Problem Building the package as-is fails ("FTBFS"), or other problem with the packaging of software Priority: Normal Normal priority

Comments

@pmaccarron
Copy link

Please confirm there isn't an open report for this package

  • I have searched through packaging problem reports

Name

graph-tool build error

Version

2.58

Summary of the problem

There is an issue with graph-tool and the current version of numpy so it will not import.

More information

When you try to import it in Python3 you get an "_ARRAY_API not found" and it kill Python shell, full details:

import graph_tool.all as gt

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.1 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 "<string>", line 1, in <module>
  File "/usr/lib/python3.11/idlelib/run.py", line 165, in main
    ret = method(*args, **kwargs)
  File "/usr/lib/python3.11/idlelib/run.py", line 579, in runcode
    exec(code, self.locals)
  File "<pyshell#2>", line 1, in <module>
  File "/usr/lib/python3.11/site-packages/graph_tool/__init__.py", line 110, in <module>
    dl_import("from . import libgraph_tool_core as libcore")
  File "/usr/lib/python3.11/site-packages/graph_tool/dl_import.py", line 44, in dl_import
    exec(import_expr, local_dict, global_dict)
  File "<string>", line 1, in <module>
AttributeError: _ARRAY_API not found

============================ RESTART: Shell ============================
@pmaccarron pmaccarron added Priority: Normal Normal priority Packaging Problem Building the package as-is fails ("FTBFS"), or other problem with the packaging of software labels May 24, 2025
@github-project-automation github-project-automation bot moved this to Triage in Solus May 24, 2025
@pmaccarron pmaccarron changed the title packagename: problem with package graph-tool: problem with package and numpy May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packaging Problem Building the package as-is fails ("FTBFS"), or other problem with the packaging of software Priority: Normal Normal priority
Projects
Status: Triage
Development

No branches or pull requests

1 participant
0