ddmee / polling2

Powerful polling utility in Python
https://polling2.readthedocs.io/
MIT License
60 stars 8 forks source link

Unable to Setup `error: metadata-generation-failed` #89

Closed saifmahamood closed 1 year ago

saifmahamood commented 1 year ago

I am using poetry and nix to do package management. I run the following command to setup: poetry lock -vv --no-update && nix build

It fails with the following error:

error: builder for '/nix/store/jykc399kb5ylimj9sric45mg1f35d0da-python3.7-polling2-0.5.0.drv' failed with exit code 2;
       last 10 log lines:
       >   File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
       >   File "<frozen importlib._bootstrap>", line 983, in _find_and_load
       >   File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
       >   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
       >   File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
       >   File "<frozen importlib._bootstrap>", line 983, in _find_and_load
       >   File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
       > ModuleNotFoundError: No module named 'setuptools'
       >
       >