How to install the "pylint3" package on ubuntu 20.4?

458 Views Asked by At

While building the images for a custom SoM using the Yocto BSP source, the pylint3 package is not able to be installed on the Ubuntu 20.04 distribution. The error message displayed is:

E: Unable to locate package pylint3.

I tried to install the pylint3 package using the following links source:

  1. https://community.nxp.com/t5/i-MX-Processors/pylint3/td-p/1513152
  2. https://askubuntu.com/questions/1009266/pylint3-and-pip3-broken
  3. https://linux.debian.user.narkive.com/WB0TCevl/apt-get-fails-to-install-pylint3
  4. https://howtoinstall.co/package/pylint3

But I'm still unable to install the package. Could someone please help me resolve this issue?

1

There are 1 best solutions below

6
On

Install pylint (not pylint3), with pip in a virtualenv (pip install pylint) following pylint's doc.

You can also use conda or your system package manager on debian based OS. These package managers lag a little behind as they are maintained by a separate entity on a slower release cycle.

conda install pylint

sudo apt-get install pylint