DHT11_Python icon indicating copy to clipboard operation
DHT11_Python copied to clipboard

Error in setup.py

Open DarrenTownsend opened this issue 5 years ago • 0 comments

Installing on Pi Zero V1.1

Setup.py returned error in line 15:

NameError: name 'setuptools' is not defined.

I think this is because you imported 'find_packages' as a separate module (using 'from setuptools import...') but in line 15 you try to call it with setuptools.find_packages(). I deleted 'setuptools.' from this line and it solved the error.

However, it failed later with a 'Permission denied' error. This was solved by running the install command as sudo.

DarrenTownsend avatar Apr 29 '20 14:04 DarrenTownsend