python3

Unable to locate package python3-cepces

Unable to locate package python3-cepces I’m trying to enroll Ubuntu 22.04.4 Pro Desktop for certificates from a Windows domain (ADCS). Using this approach with certmonger and its cepces plugin. I have a virtual machine installed from the official ISO in VirtualBox 7 for testing (and reverting snapshots). I also tried the Hyper-V "Quick Create" image. …

Total answers: 1

Python3.11 install on Ubuntu 24.04

Python3.11 install on Ubuntu 24.04 Why can’t the latest stable version (24.04) install python3.11? Thanks in advance! Asked By: Nagy János Máté || Source As of Ubuntu 24.04’s release, Python 3.11 may not be available directly through the official Ubuntu repositories or through Deadsnakes PPA, for instance. You could, in this case, build Python 3.11 …

Total answers: 1

Unable to uninstall virtualenv from debian 11

Unable to uninstall virtualenv from debian 11 My debian OS has been through a few upgrades and is now on 11 (Bullseye). I initially started out with python2 and now I no longer want it – I just want python3. I installed virtualenv a long while back when I was still working with python2. I …

Total answers: 1

How do I install a pip package on a machine without Internet access?

How do I install a pip package on a machine without Internet access? I’m working on a Linux machine without (direct) Internet access. I want to pip install foo for some pypi package foo, but – obviously, that won’t work. I have, of course, other machines which are connected the Internet. How would I go …

Total answers: 1

fsleyes segmentation fault (core dumped)

fsleyes segmentation fault (core dumped) I use FSL’s neuroimaging program FSLeyes for my work. Usually, I can start running the program from any directory by simply entering fsleyes into the command line. Today, my cat stood on my computer and OK’d a bunch of updates. Since the updates, everytime I try to run FSLeyes as …

Total answers: 1

How to use eyeD3 for abcde since pep 668

How to use eyeD3 for abcde since pep 668 How can I use eyeD3 in Debian 12 with abcde since pep 668? I am trying to use abcde with output set to mp3 set in .abcde.conf. abcde does not find eyeD3, so I try to install. However, pip3/pip tell me to use virtual environments or …

Total answers: 1

how to uninstall older python3.6 from Ubuntu 22.04?

how to uninstall older python3.6 from Ubuntu 22.04? I have Ubuntu 22.04 and it comes with python 3.10 installed as /usr/bin/python3 -> python3.10 However, I also have /usr/local/bin/python3 -> python3.6 . I think it must be from a previous manual installation of python. How to uninstall this python 3.6 ? Or is that a bad …

Total answers: 1

FileNotFoundError: [Errno 2] No such file or directory: 'dftd3'

FileNotFoundError: [Errno 2] No such file or directory: 'dftd3' I am getting a File not found error even though the file is available in the directory. Can someone help me please? I am using the ASE package to perform DFT calculations. I am using GPAW package which is a calculator for the DFT. Additionally i …

Total answers: 1

Problem with created Python 3.6 virtual environment on Ubuntu 20.04 with Pip

Problem with created Python 3.6 virtual environment on Ubuntu 20.04 with Pip Subject: Issue with Segmentation Fault When Running pip list in Python 3.6 Virtual Environment I recently installed Python 3.6 and successfully created a virtual environment. However, when I try to execute the command ‘pip list’ within the virtual environment, I encounter a segmentation …

Total answers: 1

How to replace python3.10 with python3.12 in ubuntu 22.04

How to replace python3.10 with python3.12 in ubuntu 22.04 I tried to install python3.12 from here. Then I wanted to switch the default python3 (3.10) to the newly installed and delete the old (3.10) one but it turns out, I can’t get rid of the old version easily as I thought. No matter what I …

Total answers: 1

If I have two versions of python3 installed on my machine (ie: 3.11.2 and 3.12), how do I set the default version to use when running python scripts?

If I have two versions of python3 installed on my machine (ie: 3.11.2 and 3.12), how do I set the default version to use when running python scripts? I installed the earlier version (3.11.2) normally using apt package manager and the later version (3.12) manually from source. When I execute python scripts like so: ./python_script.py …

Total answers: 4

update-alternatives, is it *generally* usable?

update-alternatives, is it *generally* usable? These links: https://manpages.ubuntu.com/cgi-bin/search.py?q=update-alternatives https://askubuntu.com/search?q=update-alternatives … do not provide any direct insight into whether update-alternatives actually can be used for e.g. using a more recent python, or pyside6 as an alternative for pyside2 (focal). The man page for 20.04 states: Different packages providing the same file need to do so cooperatively. …

Total answers: 1

How to use `python3-autopilot` with `python3 -m venv venv`?

How to use `python3-autopilot` with `python3 -m venv venv`? How can I use python3-autopilot with python3 -m venv venv? I have installed python3-autopilot (Ubuntu’s "Utility to write and run integration tests easily") with sudo apt-get install -y python3-autopilot. Although I would prefer to install python3-autopilot with pip install. Note: autopilot on PyPI is not python3-autopilot. …

Total answers: 2

Modules installed with pip don't work after Bookworm upgrade

Modules installed with pip don't work after Bookworm upgrade I recently upgraded to Debian Bookworm from Bullseye. I am aware that installation of python packages requires a different method as compared to pip install <package>. Therefore, I install new python packages using pipx which works well. Question: The packages that have already been installed using …

Total answers: 2

apt install python3.11 installs multiple versions of python

apt install python3.11 installs multiple versions of python I have the below docker file, base image rundeckpro/runner:latest; it has no python installed. After the image is built, there are two versions of python: both python3.10 and python3.11, even though I requested only python3.11. Is there any reason for this, and can I avoid this? ARG …

Total answers: 1

Self build executable can only be executed via context menu "run as a program"

Self build executable can only be executed via context menu "run as a program" I am using Ubuntu 22.04.2 LTS I have created an executable using pyinstaller and copied it to the desktop. The problem is that it does not open when double-clicked. However, if you open the desktop as a folder, it will double-click …

Total answers: 1

Install Python3.10 on Ubuntu 23.04

Install Python3.10 on Ubuntu 23.04 I’ve tried to install python3.10 alongside with native python3.11, on Ubuntu 23.04, but looks like it’s not available. mika@system:~$ sudo apt update && sudo apt install python3.10 Hit:1 http://ru.archive.ubuntu.com/ubuntu lunar InRelease Get:2 http://ru.archive.ubuntu.com/ubuntu lunar-updates InRelease [109 kB] Hit:3 https://repo.yandex.ru/yandex-browser/deb stable InRelease Get:4 http://ru.archive.ubuntu.com/ubuntu lunar-backports InRelease [99.8 kB] Get:5 http://security.ubuntu.com/ubuntu lunar-security …

Total answers: 3

Installing python3.10 on Ubuntu23.04, alongside with python3.11 causes apt crash

Installing python3.10 on Ubuntu23.04, alongside with python3.11 causes apt crash I need to use python3.10 on Ubuntu23.04. I’ve tried to install python3.10 on Ubuntu23.04, alongside with python3.11. And, it looks like it has been installed. But, python3.10-venv didn’t. Than I’ve tried to switch versions and try install python3.10-venv again, working under python3.10, and looks like …

Total answers: 1

What can block network connections

What can block network connections I’m trying to create mqtt connection using python. The shortest code to reproduce the problem is import paho.mqtt.client as paho client = paho.Client(‘myClient’) client.username_pw_set(‘user’, ‘password’) client.connect(‘my.broker.com’) On the last line I get ConnectionRefusedError: [Errno 111] Connection refused Interesting that connection is not refused by server. connect() has logging and it …

Total answers: 1