Skip to main content

Questions tagged [flask]

Flask is a web application framework for Python.

0 votes
1 answer
1k views

Flask app inside a docker container is not served to localhost when using docker-compose

I'm learning how to use docker and got stuck on the following. I have my flask app in /var/www/Skills The app tree is (I left out files under static/, templates/, tests/ and some pycache dirs): . ├──...
pavelsaman's user avatar
0 votes
1 answer
94 views

Images requested by Flask are not shown at once

When applying the image showcase function named "twentytwenty", the following problem occurs. Problem: When I call render_template() with the resulting image as an argument, the image is not visible....
Byungyeon Kang's user avatar
0 votes
2 answers
2k views

Heroku deployment - requirements.txt rejection (failed to compile python app)

Sorry if i am asking wrong questions / not providing enough info, but its a first post for me... i am getting the rejected push to heroku as shown here, i think that its an issue with the requirements....
Jeremy's user avatar
  • 111
1 vote
1 answer
13k views

how to revert the execution policy to restricted after unrestricting

I had changed my execution policy in Windows powershell but would like to change it back to default i.e unrestricted to restricted. Can it be done?
hello there's user avatar
2 votes
0 answers
514 views

google cloud appengine deploy: exited with error [Errno 12] Cannot allocate memory

I am trying to deploy a toy fastai model on google cloud platform. Step #1 - "builder": INFO tar_runtime_package took 23 seconds Step #1 - "builder": INFO starting: gzip_tar_runtime_package Step #1 ...
Stuart's user avatar
  • 21
0 votes
1 answer
2k views

Multiple XAMPP and apache instance running on the same computer at the same time

Is there any possibility to have three versions/instances of XAMPP or Apache running at the same time? I have a server which mainly includes a release, a release candidate, and a development website. ...
user3664679's user avatar
0 votes
1 answer
25 views

Why do web development frameworks and tutorials for them never show how to do temporal data? [closed]

I would like to create my own payroll engine as a website. In Oracle ERP applications it is a very common thing to have a start and an end date on tables, so that you can have varying values over time....
Superdooperhero's user avatar
1 vote
0 answers
471 views

Apache/Flask: app hangs at certain points [closed]

I've got a Flask app served by Apache that hangs at certain points when answering a request from a client. This happens at various points in the code, though it appears to be deterministic when it ...
Joko's user avatar
  • 11
0 votes
0 answers
207 views

I have red sentences and warning in terminal of visual studio code.How can I solve that?

I have been learning python from udemy.And I will start to make something with flask.I am using visual studio code program. from flask import Flask app=Flask(__name__) if __name__=="__main__": ...
Tolga 's user avatar
  • 11
1 vote
1 answer
587 views

Mask_RCNN inside a flask server

Hello I'm trying to build a simple api to receive an image and return some inference values. My filesystem is the following: Mask_RCNN |-MaskDetector.py |-FireDetector(class) fire_app |-...
Fabio Araujo's user avatar
0 votes
0 answers
124 views

Newbie with Conda ,Celery ,Python

I need to do a setup of below softwares on Windows: Anaconda-mini Celery Flask Mongo RabbitMQ I was able to download all of them, but when I try to run below command I get an error. conda env ...
Aditi Gupta's user avatar
0 votes
2 answers
279 views

CentOS pgAdmin page is naked HTML, without CSS and JavaScript due to ERROR flask.app

I'm running pgAdmin v4.8 on CentOS 7. After last 'yum update', pgAdmin doesn't work. The logfile /var/log/pgadmin/pgadmin4.log has the following error messages: ERROR flask.app: make_conditional() ...
Andrew's user avatar
  • 1
1 vote
0 answers
93 views

Can I generate non clustered index for one or more columns using flask- sqlalchemy declarations alone

I am using Flask-sqlalchemy with pyodbc on a remote mssql database, I want to implement full text search, I dont have much control over the database other than seeing that Full text search is enabled....
prathima prasad's user avatar
0 votes
1 answer
3k views

error: Command cl.exe failed: No such file or directory

The above command shows up whenever I try to install the following - pip install flask-mysqldb pip install mysqlclient
Suzie's user avatar
  • 1
1 vote
0 answers
581 views

Troubles importing Python modules [closed]

please, I need some help with the following. I'm using Windows 10, Python 3.7, VSCode 1.32 and I also have installed the current version of Anaconda (and its package). When I want to import a module ...
Mike's user avatar
  • 121

15 30 50 per page