Hi,
i’ trying to install redash on ubuntu via docker, but having this error:

Step 19/26 : RUN pip install -r requirements.txt -r requirements_dev.txt
 ---> Running in 79ef87ea4413
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/flask/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/flask/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/flask/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/flask/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/flask/
ERROR: Could not find a version that satisfies the requirement Flask==1.1.1 (from -r requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for Flask==1.1.1 (from -r requirements.txt (line 1))
ERROR: Service 'server' failed to build: The command '/bin/sh -c pip install -r requirements.txt -r requirements_dev.txt' returned a non-zero code: 1

Someone could help?

Thanks

Is your box behind a firewall that blocks PyPi? pip install flask==1.1.1 definitely works.

yes, I’m behind a firewall but the machine has full rights to navigate outside without any limitations.
I can run pip install standalone without using docker-compose?

Yep, you can use docker-compose exec as documented here. You’ll need to install not just Flask but all the requirements.