logo-MindMajix
PostPythonPython
s
sumana reddy

Posted on 26th July 2024|165 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?

 

1 answers
Answers
P
Surya kumar

Posted on 26th July 2024| views

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
Name
Course *
Email *
Phone Number