campaignmonitor / createsend-python

A Python library for the Campaign Monitor API
http://campaignmonitor.github.io/createsend-python
MIT License
57 stars 64 forks source link

No module named 'createsend' #64

Open kanny789 opened 5 years ago

kanny789 commented 5 years ago

Hi,

I have installed createsend using pip in command line interface. When I type in from createsend import * in my Python interpreter (spyder), I get an error ModuleNotFoundError: No module named 'createsend'.

Not sure what am I doing wrong here. My goal is to get a list of all subscribers and their activities for a time period.

katharosada commented 5 years ago

It's a common problem with Python to have multiple copies of Python installed, are you sure that Spyder is using the same one that pip in your command line interface is using? Otherwise, I'd need a bit more information to help debug.

1) What operating system are you using? 2) How did you install Python? What version is it? (python --version) 3) The file location of Python in your command line (try which python if you're on mac/linux) 4) The file location of Python that Spyder is using (I've not used Spyder but there should be something in the preferences to show you the file path of the Python interpreter it's using)