ImportError: No module named setuptools

Dapat error saat install dnspython-1.16.0

[email protected]:/srv/dnspython-1.16.0# python setup.py
Traceback (most recent call last):
File “setup.py”, line 21, in
from setuptools import setup
ImportError: No module named setuptools

Ternyata butuh module, jadi tinggal install

[email protected]:/srv/dnspython-1.16.0# sudo apt-get install -y python-setuptools

Installed /usr/local/lib/python2.7/dist-packages/dnspython-1.16.0-py2.7.egg
Processing dependencies for dnspython==1.16.0
Finished processing dependencies for dnspython==1.16.0

About the author

admin

View all posts

Leave a Reply

Your email address will not be published. Required fields are marked *