On Sunday, October 12, 2014 7:06:14 PM UTC+5:30, Albert-Jan Roskam wrote:
> Hi,
> 
> A few days ago I needed to check whether some Python code ran with Python 
> 2.6. What is the easiest way to install another Python version along side the 
> default Python version? My own computer is Debian Linux 64 bit, but a 
> platform-independent solution would be best.
> 
> 
> 
> Possible solutions that I am aware of
> 
> 
> 
> -make altinstall *). This is what I tried (see below), but not all modules 
> could be built. I gave up because I was in a hurry
> 
> -Pythonbrew. This project is dead
> 
> -Deadsnakes
> 
> -Anaconda
> 
> -Tox? I only know this is as a cross-version/implementation test runner
> 
> -Vagrant. This is what I eventually did, and this was very simple. I ran 
> Ubuntu 10.0.4 LTS, which uses Python 2.6, and used Vagrant SSH to run and 
> check my code in Python 2.6 (and I replaced a dict comprehension with a list 
> comprehension, for example)

Hearing a bit about docker nowadays.

Here's why its supposedly better than a VM:
https://www.docker.com/whatisdocker/

Downsides?? No idea!
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to