nardo
nardo

Reputation: 149

Raspberry Pi error with ParsePy and six.py

I am trying to connect my raspberry pi to parse.com wit ParsePy which uses the rest-api from parse.com. I am writing some python code to get it to work and I have an error with the classes supplied by ParsePy. In particular its the datatypes.py class.

It seems that when I run the code when it states import six, it cannot see it.

The errors I get is NameError:name 'six' is not defined.

What can I do so that I gets the right class?

Upvotes: 0

Views: 318

Answers (1)

larsks
larsks

Reputation: 311606

You need to install the six module.

There is probably an installable package available with apt-get install python-six; you can also install it using pip or easy_install (e.g., pip install six).

Upvotes: 1

Related Questions