All Questions
9,825
questions
0
votes
0
answers
23
views
Unable to use implicit IAM/role-based auth when using Boto3 inside Docker on EC2
I've run into a frustrating edge case that I'm now having to either introduce custom logic to work around or solve properly.
I'm running a Django application inside a Docker container on EC2. I'm ...
0
votes
0
answers
25
views
Django debug toolbar is not displayed
I just installed debug toolbar for my django project like allways.
but I don't know why doesn't the debug toolbar display?!
and I have to add that I'm using docker and it's my first time that use ...
-3
votes
1
answer
40
views
Pip cannot find recent versions of package when trying to install in Docker container
I am trying to run a Docker container in a Jupyter Notebook within AWS Sagemaker. The DockerFile is from a template that worked until I added one additional RUN command with some ML packages I wanted ...
0
votes
1
answer
16
views
Why does my containerized API fail to find a relative path which I've confirmed is correct?
I'm running a FastAPI app in a Docker container. For the app to work it needs access to its secrets, which are in a folder inside the app (for local development only), however, it can't find the ...
-2
votes
2
answers
325
views
Cannot connect to chrome at 127.0.0.1:53233, This version of ChromeDriver only supports Chrome version 114. Current browser version is 127.0.6533.72
driver code:
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support ...
0
votes
0
answers
27
views
Google Gemini (Vertex AI) Raising RECITATION errors upon Docker containerization
I'm trying to use Gemini 1.5 Flash to generate JSON data from text documents. Originally, I was running into the following issues related to copyright:
Unexpected error during attempt 5: Cannot get ...
0
votes
0
answers
22
views
Connecting Jetson Orion Nano using Pymavlink [closed]
I am attempting to connect to a Jetson Orion Nano using PyMAVLink in a Docker container. Nevertheless, it's giving me this error:
File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/...
0
votes
0
answers
51
views
SSL routines::legacy sigalg disallowed or unsupported] (-1) (SQLDriverConnect)')
I´m trying to run a FastAPI connected to SQL Server on a Docker container, but I´m getting this error when I execute the query.
Error executing: (pyodbc.OperationalError) ('08001', '[08001] [Microsoft]...
0
votes
0
answers
24
views
Running the Pycharm Debugger with a Docker/Django/Notebook setup?
I feel like I am missing some foundational truth about how Pycharm works, so I wanted to lay out how I develop and what I'm looking for.
I'm running a SvelteJS project with a Django backend. I usually ...
0
votes
1
answer
40
views
When using Docker and python:3.11 image the module "test" is not found
I have a multistage docker image as below.
# syntax=docker/dockerfile:1
FROM python:3.11 as DEP_BUILDER
ENV PYTHONFAULTHANDLER=1 \
PYTHONUNBUFFERED=1 \
PYTHONHASHSEED=random \
...
0
votes
0
answers
38
views
Error executing PySpark in Docker: "Cannot run program '/usr/bin/python3': No such file or directory"
I am encountering an issue when running PySpark jobs within a Docker container. When I try to execute a basic action like count() or show(), I receive the following error:
24/07/21 17:27:46 INFO ...
-1
votes
1
answer
40
views
Unable to find pandas in docker
I am very new to docker. I can successfully run python files on my machine however Docker is unable to recognize the pandas library.
Here is my Docker file:
FROM python
WORKDIR /app
COPY . /app
CMD [&...
-1
votes
0
answers
16
views
My celery worker returns pending all the time even though it finishes it job
I got an fastapi and calling my tasks here:
@app.post("/crawl_corporates")
async def start_crawl():
try:
task_result = initialize_task.delay()
return {"message&...
0
votes
0
answers
43
views
Different responses to the same requests (curl, python aiohttp) on the server and on the local host
I have a parser written in Python (aiohttp, bs4). One of the functions of the parser is to access a file by a link (example: https://modsfire.com/d/Mwv01aESgj73zx7).
import aiohttp
import yarl
import ...
-1
votes
0
answers
26
views
Docker & gVisor
I am making a server that is a code runner that runs on a docker container :
the user send the code and I make a file for it and then run it the problem is when running harmful code.
like if he sends ...