FIX munkres library Syntax error on a python 2 only machine

Problem I’ve installed beets in a Docker image that’s based on debian:buster with only python 2 installed. Running beets yields this error message: $ beet Led to this problem: Setup OS: debian buster Python version: 2.x beets version: latest Turning off plugins made problem go away (yes/no): no Solution The problem comes from the dependency […]

Pyqt4 on Ubuntu 20.04 install

I use a chess application called “Lucaschess” and it needs PyQt4 module to work. Is it possible to install Pyqt4 on ubuntu 20.04. I understand that ubuntu no longer supports this package but is there anyway which i can work around? The Qt4 packages can still be obtained from third party PPA: Then you have […]

FIX Python 2.7 installing opencv via pip

I’m trying to install opencv-python package via pip inside virtual environment (Python 2.7). Unfortunately, I’m getting an error: I’ve tried to create a new environment or installing through python2 -m pip install but the effect is the same. What’s the problem? Python 2.7 is not supported anymore in opencv-python-4.3.0.38 the support was dropped since 4.3.0.36, […]

How to configure PyQt4 for Python 3 in Ubuntu?

Install packages needed for compiling (I am not sure these all are needed): Download sources of the latest SIP – sip-4.12.4.tar.gz (Linux, UNIX, MacOS/X source). Unpack them and enter the directory: Download the sources of the latest PyQt – PyQt-x11-gpl-4.8.5.tar.gz (Linux, UNIX source), and install it: Note, that I am launching python3 instead of python. […]

Installing & Uninstalling Anaconda3 on Ubuntu

Installing Anaconda Step 01. To download the Anaconda installation, change the directory to /tmp (Or you can download where ever you want)cd /tmp Step 02. To download the Anaconda installation script execute the following commandcurl -O https://repo.anaconda.com/archive/Anaconda3–2019.10-Linux-x86_64.sh To get the latest installation script visit to this site: https://repo.anaconda.com/archive/ Step 03. Run the downloaded installation script$ […]

Menyiapkan Programming Environment Untuk Python 3 Linux (Ubuntu and Others)

utorial ini akan memandu pembaca dapat memasang Python 3 di komputer lokal dan mengatur programming environment lewat command line. Langkah 1 — Menyiapkan Python 3 Untuk memastikan kita memiliki versi terkini, mari lakukan update dan upgrade menggunakan apt-get: Saat proses sudah selesai, kita dapat memeriksan versi Python 3 yang terpasang di sistem dengan mengetikkan: Untuk […]