Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'setuptools' #324

Closed
pbsds opened this issue Aug 16, 2019 · 1 comment
Closed

ModuleNotFoundError: No module named 'setuptools' #324

pbsds opened this issue Aug 16, 2019 · 1 comment

Comments

@pbsds
Copy link

pbsds commented Aug 16, 2019

I think yarl is missing the setuptools dependency

$ pip3 install yarl
Collecting yarl
  Using cached https://files.pythonhosted.org/packages/fb/84/6d82f6be218c50b547aa29d0315e430cf8a23c52064c92d0a8377d7b7357/yarl-1.3.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'setuptools'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-coyimtoq/yarl/

It worked after i installed it.
This was done on a clean debian 10 server

@webknjaz
Copy link
Member

It's a build dependency. Ideally, if you have a good enough Pip version, it'd pick a binary wheel instead of sdist and wouldn't attempt building it.

It's a problem of how your OS does packaging, there's nothing we can do about it. setuptools is a common essential build tool in the world of modern Python packaging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants