-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
gcc -pthread -B /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/compiler_compat -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include -fPIC -O2 -isystem /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include -fPIC -I/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include -I. -Ibcnz/bayint/ -I/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include -I. -I/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include/python3.12 -I/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include/python3.12 -c bcnz/bayint/mc_genz_cython.c -o build/temp.linux-x86_64-cpython-312/bcnz/bayint/mc_genz_cython.o
In file included from /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929:0,
from /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5,
from bcnz/bayint/mc_genz_cython.c:1216:
/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it with " \
^
In file included from bcnz/bayint/mc_genz_cython.c:11538:0:
/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include/python3.12/internal/pycore_frame.h: In function ‘_PyFrame_Initialize’:
/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include/python3.12/internal/pycore_frame.h:134:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (int i = null_locals_from; i < code->co_nlocalsplus; i++) {
^
/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include/python3.12/internal/pycore_frame.h:134:5: note: use option -std=c99 or -std=gnu99 to compile your code
error: command '/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [67 lines of output]
/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'aintainer'
warnings.warn(msg)
running develop
/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
running egg_info
writing bcnz.egg-info/PKG-INFO
writing dependency_links to bcnz.egg-info/dependency_links.txt
writing requirements to bcnz.egg-info/requires.txt
writing top-level names to bcnz.egg-info/top_level.txt
dependency /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
reading manifest file 'bcnz.egg-info/SOURCES.txt'
adding license file 'LICENCE.TXT'
writing manifest file 'bcnz.egg-info/SOURCES.txt'
running build_ext
building 'mc_genz_cython' extension
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/bcnz
creating build/temp.linux-x86_64-cpython-312/bcnz/bayint
gcc -pthread -B /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/compiler_compat -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include -fPIC -O2 -isystem /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include -fPIC -I/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include -I. -Ibcnz/bayint/ -I/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include -I. -I/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include/python3.12 -I/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include/python3.12 -c bcnz/bayint/mc_genz_cython.c -o build/temp.linux-x86_64-cpython-312/bcnz/bayint/mc_genz_cython.o
In file included from /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929:0,
from /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5,
from bcnz/bayint/mc_genz_cython.c:1216:
/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/lib/python3.12/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it with " \
^
In file included from bcnz/bayint/mc_genz_cython.c:11538:0:
/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include/python3.12/internal/pycore_frame.h: In function ‘_PyFrame_Initialize’:
/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include/python3.12/internal/pycore_frame.h:134:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (int i = null_locals_from; i < code->co_nlocalsplus; i++) {
^
/data/astro/scratch2/eriksen/miniconda3/envs/bcnz/include/python3.12/internal/pycore_frame.h:134:5: note: use option -std=c99 or -std=gnu99 to compile your code
error: command '/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels