debian

New Debian OS-release

Programmatically check if there is a new Debian OS release Question: I was wondering if there was a way of finding out programmatically (e.g., a command that I can run from a Python script) if there is a new Debian OS release. I know that apt get update gives me info about upgradable packages, but …

Total answers: 1

how Install the Delta Lake package on the on-premise environment?

how Install the Delta Lake package on the on-premise environment? Question: I want make a data lake for my self without using any cloud service. I now have an Debian server and I want create this data lake with Databricks solution, Delta Lake. As I search all sample for stablish Delta Lake in could service. …

Total answers: 1

Python cv2, changing camera resolution

Python cv2, changing camera resolution Question: I am trying to get a very simple VideoCapture going with OpenCV, where I am able to change the resolution in between pictures. My setup: Debian GNU/Linux 11 (bullseye) Python 3.9.2 OpenCV 4.5.1 Already on the simplest step, OpenCV is giving me warnings I do not understand import cv2 …

Total answers: 1

Ansible weird error : The error was: 'str object' has no attribute 'ip'

Ansible weird error : The error was: 'str object' has no attribute 'ip' Question: I have a very strange problem with an Ansible playbook. I use ansible with a Flask API, so I use ansible-runner to pass my variables to my playbook. My playbook is just a debug of my dictionary and its ip attribute: …

Total answers: 2

What is the difference between C.UTF-8 and en_US.UTF-8 locales?

What is the difference between C.UTF-8 and en_US.UTF-8 locales? Question: I’m migrating a Python application from an Ubuntu server with a en_US.UTF-8 locale to a new Debian server which comes with C.UTF-8 already set by default. I’m trying to understand if there could be any impact from this change. Asked By: Marcelo || Source Answers: …

Total answers: 4

Python Requests – How to use system ca-certificates (debian/ubuntu)?

Python Requests – How to use system ca-certificates (debian/ubuntu)? Question: I’ve installed a self-signed root ca cert into debian’s /usr/share/ca-certificates/local and installed them with sudo dpkg-reconfigure ca-certificates. At this point true | gnutls-cli mysite.local is happy, and true | openssl s_client -connect mysite.local:443 is happy, but python2 and python3 requests module insists it is not …

Total answers: 5

How to list all python virtual environments in Linux?

How to list all python virtual environments in Linux? Question: I have more than one Python environment configured in my Debian OS. Is there a way to list all configured environments in Linux? This is different from the possible duplicate as indicated in the comment below. I mean virtual environments created using virtualenv only. Asked …

Total answers: 1

How to see pip package sizes installed?

How to see pip package sizes installed? Question: I’m not sure this is possible. Google does not seem to have any answers. Running Linux Debian can I list all pip packages and size (amount of disk space used) thats installed? i.e. List all pip packages with size on disk? Asked By: Prometheus || Source Answers: …

Total answers: 10