* Note that email notifications are currently not working. Visit back for an update status on your requests.

Login to enter an answer to this problem
Resolved import flask, flask_cors Request:10827 by Papazachariou Dimitris Date Reported :2024-04-05 (13:03:34)

Καλησπέρα


Στα πλαίσια της διπλωματικής μου εργασίας πρέπει να τρέξω 2 αρχεία, ένα python και ένα html στον web server. Για να τρέξει όμως το αρχείο python πρέπει να κάνω import το flask και το flask_cors.


Μήπως μπορείτε σας παρακαλώ να κάνετε import το flask και το flask_cors και να ελέγξετε αν τρέχει το αρχείο python (app31.py);


Τα αρχεία βρίσκονται στο /sys-data/WebData/projects/ecocharge/DEMO/.


Σας ευχαριστώ


ΔΠ


 


 

Answer by Michaelidou Andry Date:2024-04-08 (14:41:59)
[root@abel DEMO]# python3.6 app31.py
 * Serving Flask app 'app31' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 102-283-340

Δημήτρη τα φόρτωσα και το τρέχω. Μπορείς να ελέγξεις αν είναι οκ?


Answer by Michaelidou Andry Date:2024-04-26 (10:23:09)
Done. Request closed.
Please note that the central webserver is running this python application as an exception and manually. If perfomance issues detected cause by this application will be shut down and you have to move it to DMSL research servers.


Contact our Support Helpdesk


If you cannot use the methods above, you can contact us woking hours, Monday-Friday at: + 357 22 89 2700