Problems installing mailchimp3 with pip

When I put mailchilmp3==1.0.26 in my requirements.txt and run pip install -r requirements.txt it works locally, but when deploying to our AWS instances (via circleCI and codedeploy) I get the...

Install fails with requirements.txt but works with pip install

I'm seeing some weird behavior when using requirements.txt vs. when installing directly with pip. Hoping you can shed some light on this. This may be the same as this unanswered question:...

How to unsubscribe / delete list members using Mailchimp3 in Python?

I am using mailchimp3 in Python. I managed to make batch insertion of users using this function: client = MailChimp(USERNAME, APIKEY) def fill_list(list_id, subscribers_data): data =...

Python: Adding subscribers to mailchimp with bulk API V3

Im trying to write a function to create subscribers in mailchimp, but I get an error, and I can't understand what is wrong. Im using python-mailchimp (And yes, I have mye correct list-id and not...

Get subscribers with most opens in campaign report Mailchimp

How we can get subscribers with most opens in campaign report Mailchimp by mailchimp3 package python ? So far, I use the class reports.email_activity to take the number of open, then I make...

cannot initialize mail chimp API in python 3

I am trying to learn the mail chimp API in python 3, but I cannot get it started. from mailchimp3 import MailChimp client = MailChimp('MY-USERNAME’,‘MY-API') (obviously I swapped out my...

Send POST request to mailchimp API with Python

I am trying to send a POST request to the mailchimp api to add a new member to a list, but I keep getting an error saying that the api key is missing. When I send a get request I include the key...

urllib HTTPError not being caught in Python/Django

I am trying to handle an HTTPError with urllib. My settings are python3 in an anaconda virtualenv using Django 1.10. When the code gets the try, it doesn't go into except and crashes my page with...

could not find compatible versions for gem "faraday"

I don't understand what's the problem here while installing gem. Here are the details of error log Bundler could not find compatible versions for gem "faraday": In snapshot (Gemfile.lock): faraday...

Flask upgrade - Lots of "Exception ignored in..." messages in console

After upgrading to Flask 1.0 and potentially a few other libraries (running > pip3 install -r requirements.txt --upgrade) , I'm getting a lot of Exceptions in my console when running the local...

creating campaign from python mailchimp api

I am using mailchimp3 python api from mailchimp3 import MailChimp client = MailChimp(mc_api='', mc_user='') client.campaigns.create(data={}) I want to create a campaign but unable to...

how to get list id of newly created list in mailchimp using mailchimp3 python api

I have created a list in mailchimp using python mailchimp3 api: from mailchimp3 import MailChimp client = MailChimp(mc_api='', mc_user='') data = { "name": string*, "contact":...

Mailchimp API 3.0 Batch subscribe - Mailchimp3 PY

I am new to Mailchimp api. I have this csv file which has list of subscribers, that needs to be bulk exported to mailchimp. I initially thought of iterating each as json object in for loop and...

django.contrib.postgres missing/not installing on Heroku Django

I'm using the unaccent extension for Postgres and followed all the docs to get it to work (installed the extension directly via CREATE EXTENSION and put django.contrib.postgres in INSTALLED_APPS...

How to query Mailchimp API with python mailchimp3 library?

I have got the following code working: campaigns = client.campaigns.all(get_all=False, count=5) ..But I want to query just campaigns in a given month or later than a specific date: campaigns =...

Getting below error while executing "pip install -r requirements.txt" command

I am a beginner and working on a Chatbot project using RASA framework. When I try to install RASA using "pip install rasa" commands or dependencies inside requirement.txt [snap attached] using...

mailchimp3 (Python-mailchimp-api) How to set tags

I tried: client.lists.members.create('1111111', { 'email_address' : '[email protected]', 'status' : 'subscribed', "tags": [{'name': 'frogger', 'status' :...

Mailchimp API: Send campaign to users with tags

I'm trying to send a campaing to a segment based on Tags (That is to list members with a specific tag) using API calls with mailchimp3 for Django, but I can't quite find what should be the right...

Python and mailchimp integration

So i have been stuck on this for a week or so and could really do this some advice. I have a basic website which allows people to sign up to an automated newsletter that i want to send out. After...