Gardener-gg / email-verifier

SOCKS proxy enabled Email Verifier
https://Gardener.gg
MIT License
100 stars 32 forks source link

ModuleNotFoundError: No module named 'socks_smtp' #6

Closed taewookim closed 4 years ago

taewookim commented 4 years ago

Python 3.7.3 on VirtualEnv PySocks==1.7.1 dnspython==1.16.0

ideas?

taewookim commented 4 years ago

oh wait.. its a path issue.. sorry about that

mbilal02 commented 4 years ago

Hello. I am new in python and trying to use the socks_smtp.

I have installed the PySocks == 1.7.1 but getting the error from socks_smtp import SocksSMTP as SMTP ModuleNotFoundError: No module named 'socks_smtp'

Can you please share what path you changed.

LogFlames commented 4 years ago

@mbilal02 You need to change: from socks_smtp import ... to: from verifier.socks_smtp import ...

The reason is that when the code is imported from your file, the path of that code is now your file.