-
Notifications
You must be signed in to change notification settings - Fork 145
Description
Every time I am trying to install, I am receiving this error message (even if I try: pip install PySPH --use-pep517)
pip install PySPH
Defaulting to user installation because normal site-packages is not writeable
Collecting PySPH
Using cached PySPH-1.0b1.tar.gz (3.1 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [109 lines of output]
Collecting Beaker
Using cached Beaker-1.13.0-py3-none-any.whl
Collecting Cython>=0.20
Using cached Cython-3.0.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.3 kB)
Collecting compyle>=0.8
Using cached compyle-0.8.1-cp310-cp310-linux_x86_64.whl
Collecting cyarray
Using cached cyarray-1.1.tar.gz (27 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting mako
Using cached mako-1.3.10-py3-none-any.whl.metadata (2.9 kB)
Collecting oldest-supported-numpy
Using cached oldest_supported_numpy-2023.12.21-py3-none-any.whl.metadata (9.8 kB)
Collecting pytools
Using cached pytools-2025.1.3-py3-none-any.whl.metadata (3.0 kB)
Collecting setuptools>=42.0.0
Using cached setuptools-80.3.1-py3-none-any.whl.metadata (6.5 kB)
Collecting wheel>=0.29.0
Using cached wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Collecting numpy (from compyle>=0.8)
Using cached numpy-2.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB)
Collecting MarkupSafe>=0.9.2 (from mako)
Using cached MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Collecting numpy (from compyle>=0.8)
Using cached numpy-1.21.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting platformdirs>=2.2 (from pytools)
Using cached platformdirs-4.3.7-py3-none-any.whl.metadata (11 kB)
Collecting siphash24>=1.6 (from pytools)
Using cached siphash24-1.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.3 kB)
Collecting typing-extensions>=4.5 (from pytools)
Using cached typing_extensions-4.13.2-py3-none-any.whl.metadata (3.0 kB)
Using cached Cython-3.0.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
Using cached mako-1.3.10-py3-none-any.whl (78 kB)
Using cached oldest_supported_numpy-2023.12.21-py3-none-any.whl (4.9 kB)
Using cached numpy-1.21.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.9 MB)
Using cached pytools-2025.1.3-py3-none-any.whl (93 kB)
Using cached setuptools-80.3.1-py3-none-any.whl (1.2 MB)
Using cached wheel-0.45.1-py3-none-any.whl (72 kB)
Using cached MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20 kB)
Using cached platformdirs-4.3.7-py3-none-any.whl (18 kB)
Using cached siphash24-1.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (106 kB)
Using cached typing_extensions-4.13.2-py3-none-any.whl (45 kB)
Building wheels for collected packages: cyarray
DEPRECATION: Building 'cyarray' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the --use-pep517
option, (possibly combined with --no-build-isolation
), or adding a pyproject.toml
file to the source tree of 'cyarray'. Discussion can be found at pypa/pip#6334
Building wheel for cyarray (setup.py): started
Building wheel for cyarray (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [50 lines of output]
/usr/lib/python3/dist-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.17.3 and <1.25.0 is required for this version of SciPy (detected version 2.2.5
warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 35, in <module>
File "/tmp/pip-install-k_x_u77u/cyarray_3f1ea01478504d8087849ed4d8018d31/setup.py", line 160, in <module>
setup_package()
File "/tmp/pip-install-k_x_u77u/cyarray_3f1ea01478504d8087849ed4d8018d31/setup.py", line 105, in setup_package
ext_modules = cythonize(
File "/home/dipdg/.local/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1008, in cythonize
ctx = Context.from_options(c_options)
File "/home/dipdg/.local/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 100, in from_options
return cls(options.include_path, options.compiler_directives,
File "/home/dipdg/.local/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 78, in __init__
from . import Builtin, CythonScope
File "/home/dipdg/.local/lib/python3.10/site-packages/Cython/Compiler/CythonScope.py", line 5, in <module>
from .UtilityCode import CythonUtilityCode
File "/home/dipdg/.local/lib/python3.10/site-packages/Cython/Compiler/UtilityCode.py", line 3, in <module>
from .TreeFragment import parse_from_strings, StringParseContext
File "/home/dipdg/.local/lib/python3.10/site-packages/Cython/Compiler/TreeFragment.py", line 17, in <module>
from .Visitor import VisitorTransform
File "Cython/Compiler/Visitor.py", line 16, in init Cython.Compiler.Visitor
File "/home/dipdg/.local/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 33, in <module>
from .Pythran import has_np_pythran, pythran_type, is_pythran_buffer
File "/home/dipdg/.local/lib/python3.10/site-packages/Cython/Compiler/Pythran.py", line 10, in <module>
import pythran
File "/usr/lib/python3/dist-packages/pythran/__init__.py", line 41, in <module>
from pythran.toolchain import (generate_cxx, compile_cxxfile, compile_cxxcode,
File "/usr/lib/python3/dist-packages/pythran/toolchain.py", line 6, in <module>
from pythran.backend import Cxx, Python
File "/usr/lib/python3/dist-packages/pythran/backend.py", line 7, in <module>
from pythran.analyses import LocalNodeDeclarations, GlobalDeclarations, Scope
File "/usr/lib/python3/dist-packages/pythran/analyses/__init__.py", line 12, in <module>
from .aliases import Aliases, StrictAliases
File "/usr/lib/python3/dist-packages/pythran/analyses/aliases.py", line 6, in <module>
from pythran.syntax import PythranSyntaxError
File "/usr/lib/python3/dist-packages/pythran/syntax.py", line 7, in <module>
from pythran.tables import MODULES
File "/usr/lib/python3/dist-packages/pythran/tables.py", line 4585, in <module>
save_arguments((), MODULES)
File "/usr/lib/python3/dist-packages/pythran/tables.py", line 4548, in save_arguments
save_arguments(module_name + (elem,), signature)
File "/usr/lib/python3/dist-packages/pythran/tables.py", line 4548, in save_arguments
save_arguments(module_name + (elem,), signature)
File "/usr/lib/python3/dist-packages/pythran/tables.py", line 4552, in save_arguments
themodule = __import__(".".join(module_name))
File "/usr/lib/python3/dist-packages/scipy/special/__init__.py", line 649, in <module>
from . import _ufuncs
File "_ufuncs.pyx", line 1, in init scipy.special._ufuncs
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cyarray
Running setup.py clean for cyarray
Failed to build cyarray
ERROR: Failed to build installable wheels for some pyproject.toml based projects (cyarray)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.