milesrichardson / ParsePy

A relatively up-to-date fork of ParsePy, the Python wrapper for the Parse.com API. Originally maintained by @dgrtwo
MIT License
515 stars 184 forks source link

Unable to import ACL class #96

Closed flound1129 closed 9 years ago

flound1129 commented 9 years ago

When I try to import the ACL class as described in the doc, I get the following error:

ImportError: cannot import name ACL

mcastle commented 9 years ago

Can you please post/link the full console log. Thanks.

flound1129 commented 9 years ago

$ ./fix_Question.py Traceback (most recent call last): File "./fix_Question.py", line 5, in from parse_rest.datatypes import ACL ImportError: cannot import name ACL

flound1129 commented 9 years ago

Full imports:

!/usr/bin/python

from parse_rest.connection import register register(...) from parse_rest.datatypes import Object from parse_rest.datatypes import ACL from parse_rest.user import User

mcastle commented 9 years ago

Can you please confirm that you're using the most recent version of parse_rest, which includes the ACL class in parse_rest.datatypes?

flound1129 commented 9 years ago

Yes you are correct, I had the latest version cloned but I had forgotten to install it. Sorry for the trouble.