Jun-09-2020, 01:50 PM
If someone has some python 3 code that is say three years old how does one run it? Say it has no requirmenets.txt file so one must run it by one's wits.
By that I mean since it is three year old code then the chances are that the current Python interpreter is not going to run it.
I have to guess which Python interpreter was current in that period.
Of course, the battle does not stop there, all the supporting files such as numpy, and matplotlib must match the python interpreter of that period. So this is all guesswork.
If the code came with a requirements.txt file that would be good. But there is still the issue of whether the apps from that period are even available inthe preent day.
I just need some advice on this.
Respectfully,
ErnestTBass
By that I mean since it is three year old code then the chances are that the current Python interpreter is not going to run it.
I have to guess which Python interpreter was current in that period.
Of course, the battle does not stop there, all the supporting files such as numpy, and matplotlib must match the python interpreter of that period. So this is all guesswork.
If the code came with a requirements.txt file that would be good. But there is still the issue of whether the apps from that period are even available inthe preent day.
I just need some advice on this.
Respectfully,
ErnestTBass