Post

PythonPython

s
sumana reddy

Posted on 5th March 2024|159 views

0
votes

No Module Named Setuptools

How to resolve an import error called no module named setuptools?

I have always installed packages using stup.py install, but now when I am trying to install ansicolors package I am getting an error called no module named setuptools can anyone help me to install setuptools?

 

Answers
P
Surya kumar

Posted on 5th March 2024

your setup.py wants setuptools few of the packages to utilize distutils, but many of the packages use setuptools you can install setuptools like this

sudo apt-get install python3-setuptools

If you are using older versions, use this

sudo apt-get install python-setuptools

  

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos