Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

No module named 'mailerlite' #47

Closed
dmalis opened this issue Feb 7, 2022 · 4 comments
Closed

No module named 'mailerlite' #47

dmalis opened this issue Feb 7, 2022 · 4 comments
Labels
question Further information is requested

Comments

@dmalis
Copy link

dmalis commented Feb 7, 2022

Installed 0.10.0 via pip [venv], still receiving:

from mailerlite import MailerLiteApi

ModuleNotFoundError: No module named 'mailerlite'

py3.8

@skoudoro
Copy link
Owner

skoudoro commented Feb 7, 2022

Hi @dmalis,

That's strange, can you provide more detailed information.

ModuleNotFoundError: No module named 'mailerlite'

This means that there is an installation issue. You might have conflict in your environment. Usually, this is not related to the package itself.

Please keep me updated

@skoudoro skoudoro added the question Further information is requested label Feb 7, 2022
@dmalis
Copy link
Author

dmalis commented Feb 8, 2022

Hi @skoudoro and thanks for quick response.

It's a pycharm, py3.8 on windows project - with 60+ libraries already in requirements.txt.

Including mailerlite-api-python==0.10.0 installs the library - it's in site-packages along with other libs from requirements.txt (Flask, sendgrid,...), but it's the only one that raises import error.

I've searched for possible "mailerlite.py" file within the project, but there is none. The only mailerlite string occurrences are from the library itself.

I guess this doesn't help much, I might try creating new project installing only ML and flask to see whether this works.

@dmalis
Copy link
Author

dmalis commented Feb 8, 2022

@skoudoro interestingly it works without any modifications on my mac.

Might be some os/path/include related differences, that prevent win machine from working.

@skoudoro
Copy link
Owner

I suppose this issue has been fixed so I am closing for now. Feel free to reopen it if it is not the case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants