Jun-26-2024, 05:17 AM
(Jun-26-2024, 05:13 AM)rodiongork Wrote: Hi Friend!
it sounds like we all may profit from a bit more details - e.g. what is the exact output of error ModuleNotFound, which module it complains about, where do you think you have installed what you think you have installed
also as you mentioned, you can allways fallback to regex check. definitely adding some clumsy dependency just for testing string to conform to email format may be a bit overkill.
hey buddy. your timely response is much appreciated. basically the output just says the following
Error:ModuleNotFoundError: No module named 'email_validator'
i have already ran pip install email_validator in my command prompt a couple of times and it looks like the package is installed however it when i try to import it i get the above error code. obviously i need to use this package instead of regex as the package itself also checks the spelling of the domain name which is something that cant happen by using regex