olofk / ipyxact

Python-based IP-XACT parser
MIT License
121 stars 47 forks source link

Required Python version #4

Closed tudortimi closed 8 years ago

tudortimi commented 8 years ago

You should mention somewhere that the minimum required Python version is 2.7 (I guess). I tried running it with Python 2.6 (old Linux install) and I got a cryptic error message that made me scratch my head a bit.

tudortimi commented 8 years ago

Since some users might be running older Linux versions that ship with Python 2.6, it would be a good idea to use 'python2.7' in scripts instead of plain 'python'. This way you make it explicit that Python 2.7 is required and it's going to work when a user has two Python installations (2.6 from the OS and 2.7 installed in /usr/local/bin).

olofk commented 8 years ago

Hi,

You're right. I added a note that Python 2.7 is the lowest supported version. I don't want to explicitly write Python2.7 in the scripts however, as most users are probably already on python 3. This is still a bit of a mess in the python world