Skip to content

Instantly share code, notes, and snippets.

@smickles
Created February 17, 2012 18:34
Show Gist options
  • Save smickles/1854748 to your computer and use it in GitHub Desktop.
Save smickles/1854748 to your computer and use it in GitHub Desktop.
syntaxerror
Traceback (most recent call last):
File "activate_gox_stream.py", line 3, in <module>
from socketio import SocketIO
File "/home/michael/bitcoin/gox_socketio_py/socketio.py", line 3, in <module>
import simplejson as json
ImportError: No module named simplejson
michael@pickles:~/bitcoin/gox_socketio_py$ python3.2 activate_gox_stream.py
File "activate_gox_stream.py", line 26
print "subscribed to channel",channel_name
^
SyntaxError: invalid syntax
@osmosis79
Copy link

pip install simplejson
or
apt-get install python-simplejson

@osmosis79
Copy link

you could modify it to just work with the standard json module too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment