griffin-h / lightcurve_fitting Goto Github PK
View Code? Open in Web Editor NEWTools to fit analytical models to multiband light curves of astronomical transients
License: GNU General Public License v3.0
Tools to fit analytical models to multiband light curves of astronomical transients
License: GNU General Public License v3.0
Encountered the following error when installing under a virtual env, using Python 3.10, and using the cmd: pip install git+https://github.com/griffin-h/lightcurve_fitting.git
Building wheel for extinction (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for extinction (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [228 lines of output]
running bdist_wheel
running build
running build_ext
/private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-build-env-xbggbtl_/overlay/lib/python3.10/site-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-install-n26xpxkw/extinction_0fabe79fbaff4e63bb200deb0968ef3e/extinction.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
warning: extinction.pyx:289:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:290:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:291:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:292:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:293:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:294:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:295:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:492:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:493:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:494:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:495:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:496:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:497:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:498:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:499:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:500:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: extinction.pyx:501:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
Compiling extinction.pyx because it changed.
[1/1] Cythonizing extinction.pyx
building 'extinction' extension
creating build
creating build/temp.macosx-10.9-universal2-cpython-310
creating build/temp.macosx-10.9-universal2-cpython-310/extern
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-build-env-xbggbtl_/overlay/lib/python3.10/site-packages/numpy/core/include -Iextern -I/Users/cstarzero/PycharmProjects/LightCurveFitting/venv/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c extern/bs.c -o build/temp.macosx-10.9-universal2-cpython-310/extern/bs.o -std=c99
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-build-env-xbggbtl_/overlay/lib/python3.10/site-packages/numpy/core/include -Iextern -I/Users/cstarzero/PycharmProjects/LightCurveFitting/venv/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c extinction.c -o build/temp.macosx-10.9-universal2-cpython-310/extinction.o -std=c99
In file included from extinction.c:1183:
In file included from /private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-build-env-xbggbtl_/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-build-env-xbggbtl_/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-build-env-xbggbtl_/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969:
/private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-build-env-xbggbtl_/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
^
extinction.c:4817:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:6312:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:6434:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:6888:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:7044:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:7346:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:7506:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11250:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11364:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11478:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11610:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11741:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11863:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:14689:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:14811:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:18070:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:20697:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:21391:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:22136:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:22437:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:22927:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:23050:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:23232:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:23711:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:24485:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:24952:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:25197:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:29410:76: warning: code will never be executed [-Wunreachable-code]
if (__Pyx_PyTuple_SET_ITEM(argstuple, (Py_ssize_t)i, args[i]) < 0) goto bad;
^~~~~~~~
extinction.c:29410:73: note: silence by adding parentheses to mark code as explicitly dead
if (__Pyx_PyTuple_SET_ITEM(argstuple, (Py_ssize_t)i, args[i]) < 0) goto bad;
^
/* DISABLES CODE */ ( )
29 warnings generated.
In file included from extinction.c:1183:
In file included from /private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-build-env-xbggbtl_/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-build-env-xbggbtl_/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-build-env-xbggbtl_/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969:
/private/var/folders/jz/ygpfpq953fj96p5kvm9_q3x00000gn/T/pip-build-env-xbggbtl_/overlay/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
^
extinction.c:4817:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:6312:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:6434:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:6888:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:7044:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:7346:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:7506:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11250:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11364:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11478:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11610:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11741:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:11863:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:14689:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:14811:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:18070:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:20697:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:21391:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:22136:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:22437:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:22927:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:23050:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:23232:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:23711:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:24485:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:24952:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:25197:3: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3_error;
^~~~~~~~~~~~~~~~~~~
extinction.c:29410:76: warning: code will never be executed [-Wunreachable-code]
if (__Pyx_PyTuple_SET_ITEM(argstuple, (Py_ssize_t)i, args[i]) < 0) goto bad;
^~~~~~~~
extinction.c:29410:73: note: silence by adding parentheses to mark code as explicitly dead
if (__Pyx_PyTuple_SET_ITEM(argstuple, (Py_ssize_t)i, args[i]) < 0) goto bad;
^
/* DISABLES CODE */ ( )
29 warnings generated.
creating build/lib.macosx-10.9-universal2-cpython-310
clang -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 -g build/temp.macosx-10.9-universal2-cpython-310/extern/bs.o build/temp.macosx-10.9-universal2-cpython-310/extinction.o -o build/lib.macosx-10.9-universal2-cpython-310/extinction.cpython-310-darwin.so
ld: warning: ignoring file /usr/local/Cellar/llvm@9/9.0.1_4/lib/clang/9.0.1/lib/darwin/libclang_rt.osx.a, missing required architecture arm64 in file /usr/local/Cellar/llvm@9/9.0.1_4/lib/clang/9.0.1/lib/darwin/libclang_rt.osx.a (2 slices)
ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/lib/libSystem.tbd' for architecture arm64
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/local/opt/llvm@9/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for extinction
Successfully built lightcurve-fitting
Failed to build extinction
ERROR: Could not build wheels for extinction, which is required to install pyproject.toml-based projects
Currently, create_wiserep_tsv will completely crash if no time is found in the header or filename and will not write a tsv file. It would be wonderful if it asked for the time or if it skipped files that didn't meet all the requirements.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.