All Questions
16,151
questions
1
vote
1
answer
22
views
Runing shell script with python temporary environment variables
I am trying to find a way to run a python script with temporary env variables underground. I am using the following script to illustrate my approach, but it does not work.
example.py
import os
import ...
0
votes
0
answers
15
views
Using community.okd.openshift_adm_groups_sync module in ansible
To manage an OpenShift cluster, I want to use community.okd collection of Ansible, more precisely the module openshift_adm_groups_sync. the same module exist in "Openshift" collection too.
...
-5
votes
0
answers
46
views
Pandas introducing lineterminators via to_csv without cause or reason [closed]
I've bug checked this thoroughly. I know that the bug is introduced when outputting to csv via the df.to_csv method.
The method is randomly adding lineterminators which aren't called for in any way.
I ...
-6
votes
0
answers
42
views
Playwright, selectiong option from dropdown menu [closed]
I'm just starting out doing some automation and was looking for advice on how to login to my local golf club's website so I could eventually track handicaps. I was hoping someone could advise on the ...
0
votes
1
answer
38
views
Unable to make a remote api call to flask app(for MySQL connection) inside my apache server
I have an apache server running on Alma Linux. I have the flask code setup to accept API calls from remote connections. So my API call hits the flask which then connects to MySQL database.
When I try ...
0
votes
1
answer
50
views
Azure Function with Azure AI Speech network issue (WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED)
I'm using Azure AI Speech (previously Azure Cognitive Services), specifically the Text-to-Speech (TTS) feature in a Python Azure Function app (Linux). However, when my Function app is running and ...
1
vote
1
answer
26
views
Unable to locate package python-gobject in Debian 12 Bookworm
I am trying to have touchpad gestures on my Debian.......while writing commands.....it is in this section of command where I start facing problem
~
sudo apt-get install wmctrl python3 python3-...
0
votes
0
answers
25
views
Cannot close encryption on a drive I format on linux [duplicate]
So, I have a python script and what I want it to do is to format a drive, then encrypt it and then re-format the drive. The problem I encounter is that I have to interact with the commandline and I ...
-1
votes
0
answers
39
views
Unable to install lbzip2
While installing the prerequisites for python-for-android, I was trying to install lbzip2, but was unable to.
The command I used:
$ sudo apt-get install -y lbzip2
However, I got the following output ...
-2
votes
3
answers
44
views
how to run fastapi with a specific python interpreter on linux
I'm (trying to) run FastAPI on a linux container that has multiple versions of python. When I do fastapi run, I want fastapi to run using a particular python interpreter. (e.g. I want it to use the ...
0
votes
0
answers
41
views
Facebook login using selenium on linux
GOAL
I've got this project in mind. Part of it is logging in a facebook account. This code works perfectly on my local machine(windows) and local server(ubuntu) but it doesn't work when i run it on an ...
-3
votes
0
answers
42
views
Why doesn't tree.write create my XML file? [closed]
Using PyCharm on Kubuntu Linux I modify an XML file by adding an entry and write the changes to a new file, but the file doesn't get created and no error is displayed:
import xml.etree.ElementTree as ...
0
votes
2
answers
50
views
Facebook log in using selenium on linux server
I've got this project in mind. Part of it is logging in a facebook account.
This code works perfectly on my local machine(windows) and local server(ubuntu) but it doesn't work when i run it on an ...
-2
votes
0
answers
42
views
Unable to Add Username with Special Character to GNOME Keyring
I am able to add usernames to my gnome keyring that have characters A-Z a-z. However when I try to add a username with an '@' symbol '[email protected]', there is unexpected behavior.
The keyring ...
0
votes
0
answers
39
views
Getting "'4.4*' for 'r-base' was not found" error while installing R 4.4.1 version using bookworm image as base
# Start with a base Debian image
FROM python:3.13-rc-bookworm
ARG R_VERSION=4.4.1
# Set environment variables
ENV PYTHONUNBUFFERED 1
ENV DEBIAN_FRONTEND noninteractive
# Install system dependencies
...