0

I am trying to install the twitter module on my python and for some unknown reason it is keep throwing an error message. I use Macbook and on terminal I typed:

pip install python-twitter

and then it seems to work for awhile but then error says:

SystemError: Cannot locate working compiler

??? why is this error popping up and is there anyway to resolve it?

thank you,

Jin-Dominique
  • 3,043
  • 6
  • 19
  • 28

1 Answers1

0

Like the message says you need a working compiler. Presumably python-twitter uses C extensions that must be compiled.

Easiest way is to install XCode and then install the "Command line tools"

See this answer: Xcode 4.4 and later install Command Line Tools

Community
  • 1
  • 1
Cfreak
  • 19,191
  • 6
  • 49
  • 60