r/redditdev • u/IAmAnAnonymousCoward • Jun 18 '14
AttributeError: can't set attribute
Am I the only one who's getting that since the latest update?
Not sure about the exact causes yet, but for comment in comment_generator: doesn't work anymore for example.
17
Upvotes
View all comments
Show parent comment
1
u/nandhp Jun 18 '14 edited Jun 18 '14
I wasn't really installing it at all -- just cloning the repository and creating a symlink in my bot directory to
.../praw/build/lib.linux-x86_64-2.7/praw. I wasn't usingeasy_install(orpip, as people seem to prefer) because I didn't want to fill/usr/lib/python2.7with files not from my package manager, and I hadn't yet set up a user-specificPYTHONLIB(~/.local/lib/python$py_version_short/site-packages).Of course, even if I had set up a private
PYTHONLIBI probably would have been reluctant to have a separate copy of six installed there. I suppose the ideal solution is project-specificPYTHONLIBs, but that's too fancy.I still use PRAW this way, but no longer for any good reason.