Diabetes_Prediction_Portal icon indicating copy to clipboard operation
Diabetes_Prediction_Portal copied to clipboard

Error when entering value and submit

Open naukrii opened this issue 6 years ago • 2 comments

Kindly help.

After running app.py ,i can load the webpage but once i enter all vaue and submit. i get following error in browser. Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

In cmd prompt. i get this error (attached the screenshot) ValueError: Buffer dtype mismatch, expected 'ITYPE_t' but got 'long long'

error

naukrii avatar Feb 19 '20 14:02 naukrii

if you sloved the problem please tell me

Aniskonig avatar May 09 '20 23:05 Aniskonig

Kindly help.

After running app.py ,i can load the webpage but once i enter all vaue and submit. i get following error in browser. Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

In cmd prompt. i get this error (attached the screenshot) ValueError: Buffer dtype mismatch, expected 'ITYPE_t' but got 'long long'

error

For the internal server error, you can change the port by writing " app.run(port=7000)" And for ValueError: Buffer dtype mismatch, expected 'ITYPE_t' but got 'long long' , you have to check the version of the scikit-learn library. I have used version "0.20.0" and it worked I have used : pycharm python 3.7(64 bit) numpy, pandas,flask latest version scikit-learn (.20.0 version)

rajvee17 avatar Oct 12 '20 12:10 rajvee17