1

This question already has an answer here:

I need to upgrade Python on 30 laptops at several remote sites. These laptops have Debian 9 with Python 3.5, and the library they'll be using for the planned activity (arcade) requires Python 3.6.

I have an update process that can deploy package updates, but it needs to be able to install quickly, so compiling Python is not an option.

marked as duplicate by user34720, ilkkachu, GAD3R, Jeff Schaller, jimmij Mar 23 at 11:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • would 3.7 work? – kemotep Mar 22 at 16:55
  • Yeah, Pyhton3.7 would work – Ben Davis Mar 22 at 17:37
  • 1
    So if you absolutely cannot install it from source your options are to grab a random packaged binary off of github or upgrade to Buster to get 3.7 from the repos. If you have the infrastructure to deliver a package to other computers you only need to compile and package python once and deliver it that way. If you could edit your post to include more details as to what your available resources are I could assist in making an answer for that or provide details on how to migrate to Buster. – kemotep Mar 22 at 17:54
1

I ended up compiling python on an identical target machine using --prefix=/opt/Python3.6 as a configure option. I then just zipped up that dir so the target machines could download and extract it during the update process. The users were instructed to use /opt/Python3.6/bin/python3 as the interpreter.

Not the answer you're looking for? Browse other questions tagged or ask your own question.