FenixEdu/fenixedu-python-sdk

Set python version in reqs.txt

ricardomv opened this issue · 1 comments

ConfigParser (in python2) is called configparser (in python3) either provide the version of python you use or make the code work in both versions. In the distro i use /usr/bin/python is symlinked to python 3 so i could not install in the described way.

nurv commented

@samfcmc you probably can solve this surrounding the import with a try:except with the python 3 import on the except block. You just need to check if the code runs in Python 3, but I don't see why wouldn't.