If you may get an error when you run the python file, ImportError: No module named 'setuptools'
$ sudo python3 setup.py
Traceback (most recent call last):
File "setup.py", line 1, in <module>
from setuptools import setup
ImportError: No module named 'setuptools'
Just install the python setuptools based on your version of python3 or python2
Still, if you get error like below,
sudo apt-get install python3-setuptools
Download and run it using the target Python version
$ sudo apt-get install python-setuptools
Still, if you get error like below,
sudo apt-get install python3-setuptools
import error No module named setuptools
Download and run it using the target Python version
$ sudo wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
Comments (0)