No module named - Python

0

Hello, I installed mailchimp3 this way:

pip install mailchimp3

And also the mailchimp:

pip install mailchimp

There was no error.

When I'm going to run the podium in python:

from mailchimp3 import MailChimp

client = MailChimp('YOUR_USERNAME', 'YOUR_SECRET_KEY')
client.lists.members.all('YOUR_LIST_ID', get_all=True, fields="members.email_address")

Returns the error:

Exception has occurred: ModuleNotFoundError No module named 'mailchimp3'

Has anyone ever been through this? Thanks!

    
asked by anonymous 29.10.2018 / 20:53

1 answer

0

You have also installed version 2 of MailChimp after installing version 3, remove it with pip uninstall mailchimp and reinstall version 3.

    
30.10.2018 / 04:30