mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
issue: No package metadata was found for email-validator #4865
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ryandanehy on GitHub (Apr 16, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.5
Ollama Version (if applicable)
0.6.5
Operating System
CentOS Linux 7
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Hi first off I love open-webui and have been using it without a hitch for over 7 + months. Recently I upgraded my container image (using apptainer not docker) from using open-webui container 0.5.7 to 0.6.5. I pull the container via
From: open-webui/open-webui:maincommand. I did this previously when the version was at 0.5.7 with no problems. The upgraded container fails when trying to run Open-Webui.Actual Behavior
However know when I attempt to run the container and start up open-webui i get the following error:
Steps to Reproduce
Logs & Screenshots
Webui Container log output file:
Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
Loading WEBUI_SECRET_KEY from .webui_secret_key
webui container log error file [shortened see above in actual behavior for full log]:
File "/usr/local/lib/python3.11/site-packages/pydantic/networks.py", line 965, in get_pydantic_core_schema
import_email_validator()
File "/usr/local/lib/python3.11/site-packages/pydantic/networks.py", line 928, in import_email_validator
if not version('email-validator').partition('.')[0] == '2':
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/metadata/init.py", line 1009, in version
return distribution(distribution_name).version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/metadata/init.py", line 982, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/metadata/init.py", line 565, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for email-validator
Additional Information
Any help or direction in where I should go. I do want to note this no package metadata found rather than no module found which I find interesting. Any differences from 0.6.5 -> 0.5.7 that would cause this. Am I missing a dependency? Thank you so much for all future help. Love the package.
@tjbck commented on GitHub (Apr 16, 2025):
Unable to reproduce, keep us updated