-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python3 - SafeConfigParser renamed to ConfigParser #24
Comments
I think there might be some other things we need to do to make it work in Python 3 (not sure if all of the libraries work the same or have compatible upgrades), but if you want to try it out, let us know here if that works. |
I cloned the repo & made a minor change (see below) to the kodi.py file & it seems to be working fine for me. I haven't committed the change as I didn't want to break anything for anyone using the older (v2) version of Python
|
You probably don't even need six right? Couldn't you just do:
|
And that's why i'm not a python developer! :) |
Hi,
I'm not well versed in the world of Python, so please forgive me if the below is nonsense or not anything you can help with:
I'm getting the following error when trying to run / setup kodi-alexa on my self-hosted Apache web server.
From what I can see it's due to me running python 3+ rather than 2.7 as the SafeConfigParser was renamed to ConfigParser. I've tried getting my mod_wsgi to play nicely with python 2.7 & various versions of Apache, but I can't seem to find any other combination that works. Would it be possible to support Python 2 & 3? I've googled & apparently using the module "six" and a try catch block like below might work to support both versions - I'm not sure though.
Taken from:
https://stackoverflow.com/questions/14087598/python-3-importerror-no-module-named-configparser
Is this feasible?
The text was updated successfully, but these errors were encountered: