-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 "taming" #176
Comments
I've also experienced this issue even though taming-transformers is installed and had been working fine. Doesn't matter if I git clone this repository and install it that way or just pip install taming-transformers. |
You probably need to add |
After uninstalling and reinstalling with |
This is not the correct thing to do when this happens btw.
|
While that does work, I would not do that. Manually cloning a repo of a dependency you're using and copying the contents of a folder within it into the folder you're trying to us is definitely not the best practice here. If you pip install using If you add
Conda automatically adds your current directory into your Something about the way they structured the taming repo doesn't register in pythons module loaders at the repos root. You have to go 1 deeper. CLIP seems to have done it right (and if you install without the Having to set a PYTHONPATH certainly isn't an ideal solution, but it's def a more portable solution for using these repos that have changed since their last PyPi publishing with changes that have messed something up with modules, or don't conform to the current PEP spec |
The real problem here is that this package has not been coded correctly to be a dependency; in setup.py, |
(Actually, see #173 which does a more thorough job of this.) |
can you please merge that one? as is, this repository is impossible to use with standard tools. |
Also I encourage everyone who makes packages to stop using setup.py and read the python packaging tutorial. |
I get this error when executing stable diffusion:
The text was updated successfully, but these errors were encountered: