mandal-21 / flight-price-prediction Goto Github PK
View Code? Open in Web Editor NEWNow you can get Flight ticket fare with this wonderful end to end project.
Home Page: https://flight-price-prediction-api.herokuapp.com/
Now you can get Flight ticket fare with this wonderful end to end project.
Home Page: https://flight-price-prediction-api.herokuapp.com/
why did we used two dataset ?
data_train and
test_data
Arrival date shouldn't be less than departure date.
When i was trying to deploy this project on heroku its showing "Push rejected, failed to compile python app. Push failed".
Please help me.
tip detail:
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail
Demo link:
https://flight-price-prediction-api.herokuapp.com/
Hello,
Your code is good enough but it is just predict for some places. We can improve this by adding more places.
Thanks.
Hello..Delhi and kolkata is present in both source and destination text field ..so if we r giving source as kolkata and destination also as kolkata its calculating a price.But how source and destination will be same?
@app.route("/")
@cross_origin()
def home():
return render_template("home.html")
IndentationError: expected an indented block
compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-x86_64-3.1/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/app/.heroku/python/include/python3.10 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -c'
gcc: build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.c
numpy/core/src/multiarray/scalartypes.c.src: In function ‘unicodetype_repr’:
numpy/core/src/multiarray/scalartypes.c.src:482:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
482 | ip = dptr = Py@Name@_AS_@NAME@(self);
| ^~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:488:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
488 | new = Py@Name@_From@Name@@extra@(ip, len);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘unicodetype_str’:
numpy/core/src/multiarray/scalartypes.c.src:482:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
482 | ip = dptr = Py@Name@_AS_@NAME@(self);
| ^~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:488:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
488 | new = Py@Name@_From@Name@@extra@(ip, len);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘gentype_reduce’:
numpy/core/src/multiarray/scalartypes.c.src:1866:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
1866 | buffer = PyUnicode_AS_DATA(self);
| ^~~~~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
1867 | buflen = PyUnicode_GET_DATA_SIZE(self);
| ^~~~~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
1867 | buflen = PyUnicode_GET_DATA_SIZE(self);
| ^~~~~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
1867 | buflen = PyUnicode_GET_DATA_SIZE(self);
| ^~~~~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:1871:5: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations]
1871 | if (PyObject_AsReadBuffer(self, (const void **)&buffer, &buflen)<0) {
| ^~
In file included from /app/.heroku/python/include/python3.10/genobject.h:12,
from /app/.heroku/python/include/python3.10/Python.h:110,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/abstract.h:343:17: note: declared here
343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj,
| ^~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘datetime_arrtype_new’:
numpy/core/src/multiarray/scalartypes.c.src:2850:30: warning: comparison of integer expressions of different signedness: ‘NPY_DATETIMEUNIT’ {aka ‘enum <anonymous>’} and ‘int’ [-Wsign-compare]
2850 | if (ret->obmeta.base == -1) {
| ^~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘timedelta_arrtype_new’:
numpy/core/src/multiarray/scalartypes.c.src:2850:30: warning: comparison of integer expressions of different signedness: ‘NPY_DATETIMEUNIT’ {aka ‘enum <anonymous>’} and ‘int’ [-Wsign-compare]
2850 | if (ret->obmeta.base == -1) {
| ^~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3228:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3228 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| double
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3228:12: error: too few arguments to function ‘_Py_HashDouble’
3228 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘cfloat_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3236:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3236 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3237 | (((PyC@name@ScalarObject *)obj)->obval).real);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3236:16: error: too few arguments to function ‘_Py_HashDouble’
3236 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3242:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3242 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3243 | (((PyC@name@ScalarObject *)obj)->obval).imag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3242:16: error: too few arguments to function ‘_Py_HashDouble’
3242 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3228:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3228 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| double
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3228:12: error: too few arguments to function ‘_Py_HashDouble’
3228 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘clongdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3236:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3236 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3237 | (((PyC@name@ScalarObject *)obj)->obval).real);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3236:16: error: too few arguments to function ‘_Py_HashDouble’
3236 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3242:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3242 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3243 | (((PyC@name@ScalarObject *)obj)->obval).imag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3242:16: error: too few arguments to function ‘_Py_HashDouble’
3242 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3258:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3258 | return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| double
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3258:12: error: too few arguments to function ‘_Py_HashDouble’
3258 | return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3229:1: warning: control reaches end of non-void function [-Wreturn-type]
3229 | }
| ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3229:1: warning: control reaches end of non-void function [-Wreturn-type]
3229 | }
| ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3259:1: warning: control reaches end of non-void function [-Wreturn-type]
3259 | }
| ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘unicodetype_repr’:
numpy/core/src/multiarray/scalartypes.c.src:482:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
482 | ip = dptr = Py@Name@_AS_@NAME@(self);
| ^~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:488:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
488 | new = Py@Name@_From@Name@@extra@(ip, len);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘unicodetype_str’:
numpy/core/src/multiarray/scalartypes.c.src:482:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
482 | ip = dptr = Py@Name@_AS_@NAME@(self);
| ^~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
483 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:488:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
488 | new = Py@Name@_From@Name@@extra@(ip, len);
| ^~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘gentype_reduce’:
numpy/core/src/multiarray/scalartypes.c.src:1866:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
1866 | buffer = PyUnicode_AS_DATA(self);
| ^~~~~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
1867 | buflen = PyUnicode_GET_DATA_SIZE(self);
| ^~~~~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
1867 | buflen = PyUnicode_GET_DATA_SIZE(self);
| ^~~~~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
1867 | buflen = PyUnicode_GET_DATA_SIZE(self);
| ^~~~~~
In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
from /app/.heroku/python/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:1871:5: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations]
1871 | if (PyObject_AsReadBuffer(self, (const void **)&buffer, &buflen)<0) {
| ^~
In file included from /app/.heroku/python/include/python3.10/genobject.h:12,
from /app/.heroku/python/include/python3.10/Python.h:110,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/abstract.h:343:17: note: declared here
343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj,
| ^~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘datetime_arrtype_new’:
numpy/core/src/multiarray/scalartypes.c.src:2850:30: warning: comparison of integer expressions of different signedness: ‘NPY_DATETIMEUNIT’ {aka ‘enum <anonymous>’} and ‘int’ [-Wsign-compare]
2850 | if (ret->obmeta.base == -1) {
| ^~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘timedelta_arrtype_new’:
numpy/core/src/multiarray/scalartypes.c.src:2850:30: warning: comparison of integer expressions of different signedness: ‘NPY_DATETIMEUNIT’ {aka ‘enum <anonymous>’} and ‘int’ [-Wsign-compare]
2850 | if (ret->obmeta.base == -1) {
| ^~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3228:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3228 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| double
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3228:12: error: too few arguments to function ‘_Py_HashDouble’
3228 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘cfloat_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3236:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3236 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3237 | (((PyC@name@ScalarObject *)obj)->obval).real);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3236:16: error: too few arguments to function ‘_Py_HashDouble’
3236 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3242:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3242 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3243 | (((PyC@name@ScalarObject *)obj)->obval).imag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3242:16: error: too few arguments to function ‘_Py_HashDouble’
3242 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3228:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3228 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| double
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3228:12: error: too few arguments to function ‘_Py_HashDouble’
3228 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘clongdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3236:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3236 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3237 | (((PyC@name@ScalarObject *)obj)->obval).real);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3236:16: error: too few arguments to function ‘_Py_HashDouble’
3236 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3242:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3242 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3243 | (((PyC@name@ScalarObject *)obj)->obval).imag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3242:16: error: too few arguments to function ‘_Py_HashDouble’
3242 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3258:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3258 | return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| double
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3258:12: error: too few arguments to function ‘_Py_HashDouble’
3258 | return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
| ^~~~~~~~~~~~~~
In file included from /app/.heroku/python/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3229:1: warning: control reaches end of non-void function [-Wreturn-type]
3229 | }
| ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3229:1: warning: control reaches end of non-void function [-Wreturn-type]
3229 | }
| ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3259:1: warning: control reaches end of non-void function [-Wreturn-type]
3259 | }
| ^
error: Command "gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-x86_64-3.1/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/app/.heroku/python/include/python3.10 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -c build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.c -o build/temp.linux-x86_64-3.10/build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.o -MMD -MF build/temp.linux-x86_64-3.10/build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.o.d" failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[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.
! Push rejected, failed to compile Python app.
! Push failed
the date time picker is not working;
had to manually add date and time ;
which gave error
please help me fix this issue
My project is fully working in PC (on http://127.0.0.1:5000/) but not Heroku. Deployment is successful but I'm getting application error. Check https://flight-price-prediction10.herokuapp.com/.
I wanna try the link, but it looks inactive and cannot be accessed. Yea, probably I was coming late.
How do you upload pickle here in GitHub? It says larger than 25MB. Your pickle file is 45 MB.
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.