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

import pillow_avif # noqa: F401 # imported for side effects ModuleNotFoundError: No module named 'pillow_avif' #10

Open
hejianbo1994 opened this issue Sep 1, 2023 · 4 comments

Comments

@hejianbo1994
Copy link

No description provided.

@Youssefbenhammouda
Copy link

Same here

@ars3nicum
Copy link

same

@rtecomdev
Copy link

Same here, here is the traceback (I tried to install Pillow manually with pip before the setup but it keeps getting the same error):

Traceback (most recent call last):
File "/home/contact/saleor/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/core/management/init.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/core/management/base.py", line 425, in run_from_argv
connections.close_all()
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/utils/connection.py", line 84, in close_all
for conn in self.all(initialized_only=True):
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/utils/connection.py", line 76, in all
return [
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/utils/connection.py", line 73, in iter
return iter(self.settings)
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/utils/functional.py", line 57, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/utils/connection.py", line 45, in settings
self._settings = self.configure_settings(self._settings)
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/db/utils.py", line 148, in configure_settings
databases = super().configure_settings(databases)
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/utils/connection.py", line 50, in configure_settings
settings = getattr(django_settings, self.settings_name)
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/conf/init.py", line 102, in getattr
self._setup(name)
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/conf/init.py", line 89, in _setup
self._wrapped = Settings(settings_module)
File "/home/contact/env/saleor/lib/python3.10/site-packages/django/conf/init.py", line 217, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/contact/saleor/saleor/init.py", line 1, in
import pillow_avif # noqa: F401 # imported for side effects
ModuleNotFoundError: No module named 'pillow_avif'

@flytoo2016
Copy link

same probleme

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

5 participants