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' #17

Open
PieBru opened this issue Aug 17, 2024 · 0 comments
Open

ModuleNotFoundError: No module named 'setuptools' #17

PieBru opened this issue Aug 17, 2024 · 0 comments

Comments

@PieBru
Copy link

PieBru commented Aug 17, 2024

(venv) [admin@aero15xv8 flux-webui]$ python app.py
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
0it [00:00, ?it/s]
Traceback (most recent call last):
  File "/home/admin/Piero/AI_Lab/Github/flux-webui/app.py", line 7, in <module>
    from optimum.quanto import QuantizedDiffusersModel, QuantizedTransformersModel
  File "/home/admin/Piero/AI_Lab/Github/flux-webui/venv/lib/python3.12/site-packages/optimum/quanto/__init__.py", line 18, in <module>
    from .library import *
  File "/home/admin/Piero/AI_Lab/Github/flux-webui/venv/lib/python3.12/site-packages/optimum/quanto/library/__init__.py", line 15, in <module>
    from .extensions import *
  File "/home/admin/Piero/AI_Lab/Github/flux-webui/venv/lib/python3.12/site-packages/optimum/quanto/library/extensions/__init__.py", line 17, in <module>
    from .cpp import *
  File "/home/admin/Piero/AI_Lab/Github/flux-webui/venv/lib/python3.12/site-packages/optimum/quanto/library/extensions/cpp/__init__.py", line 19, in <module>
    from ..extension import Extension
  File "/home/admin/Piero/AI_Lab/Github/flux-webui/venv/lib/python3.12/site-packages/optimum/quanto/library/extensions/extension.py", line 7, in <module>
    from torch.utils.cpp_extension import load
  File "/home/admin/Piero/AI_Lab/Github/flux-webui/venv/lib/python3.12/site-packages/torch/utils/cpp_extension.py", line 9, in <module>
    import setuptools
ModuleNotFoundError: No module named 'setuptools'
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

1 participant