If you may receive an error like No Module Named Setuptools on Python while installing related on python packages in Linux system
$ sudo python3 setup.py
Traceback (most recent call last):
File "setup.py", line 1, in
from setuptools import setup
ImportError: No module named 'setuptools'
Solution :
Your setup.py needs setuptools, so install python "setuptools". Execute the below command,
For Ubuntu:
$ sudo apt-get install python3-setuptools
For Debian:
$ sudo apt-get install python-setuptools
Another way is,
Download and run it using the target Python version
$ sudo wget https://bootstrap.pypa.io/ez_setup.py -O - | python
The below command with superuser privileges to install
$ sudo wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
Comments (0)