Closed martinberoiz closed 5 years ago
Could you try rerunning it with pip install -U yagmail
? I thought this should be solved by now by using from __future__ import absolute_import
at the top of the script in the latest update. It also seems like it passes the tests on python 2.7 (see Travis CI).
Oh, ok. It must be just me then. I tried with -U option but didn't work either. Thanks.
Actually, thanks for raising an issue! It apparently wasn't working for Python 2.7
I guess somehow the test didn't catch it.
See also the following issue:
https://github.com/kootenpv/yagmail/commit/4a434976fd23d98ca69772d632ccaa5c535d7bf8
It has been rolled back, so now you can for sure install it (but it certainly bothers me that it doesn't look nice).
Let me know if it works, then I'll close it.
Hello, I have installed yagmail via
sudo pip3 install yagmail
on my system. I am getting an ImportError with no module of that name. Any ideas?
@wingnut2626 Try to update to a newer version perhaps: sudo pip3 install -U yagmail
Hello,
I had a similar issue, solved by using sudo
.
I used:
sudo pip install yagmail
In the yagmail GIT page, probably the instructions should have:
sudo pip install yagmail
sudo pip3 install yagmail
@guigashm Strange, I'm able to install without sudo on a new system. I'm out of ideas. But I took your advice into the README at the errors section. Thanks for posting.
I would suggest not using sudo to pip install anything. Do you have another file called error.py?
Doing the following works on Debian 9:
I think this is not an issue anymore? Feel free to reopen.
Yeah, it started to happen again:
ModuleNotFoundError: No module named 'yagmail'
Didn't happen last year. though. I installed it via pip3 install yagmail
. pip3 install -U yagmail
does not help at all.
Yeah, it started to happen again:
ModuleNotFoundError: No module named 'yagmail'
Didn't happen last year. though. I installed it via
pip3 install yagmail
.pip3 install -U yagmail
does not help at all.
Did you try python3
afterwards, i.e. the same version as pip3
Hello,
Right after installing yagmail with pip install I get this error as soon as I import the module:
What could this be?