I’m new to writing Plex plugins and I’m having an issue with calls to the oauth2 library. When I use the library in a standalone application, everything works fine. When I try to use it in my Plex plugin, I get the following error on load. I also see a bunch of security errors before the exception occurs.
SyntaxError: Line 50: “version” is an invalid attribute name because it starts with “_”.
Why is Plex/Python treating this differently in the plugin than the standalone app?
Figured it out. Found the answer in this post.