As I’m currently merging 2.x and 3.x branches of openpyxl, I now need to perform tests over all existing Python releases known to man. I decided to install a new Ubuntu VM to perform the the tests, but I struggled during 2.4 installation.
Tried pythonbrew, which was a very disappointing experience as nothing worked as it was supposed to.
Then I tried to build from source myself, but here again the GCC version available on ubuntu 11.10 is apparently no longer able to compile original python sources.
Here is how I did it :
- download RPM version for Fedora here : http://www.python.org/download/releases/2.4/rpms/ (direct link)
- install alien (sudo apt-get install alien)
- type the following command
$ sudo alien -i python2.4-2.4-1pydotorg.i386.rpm
Now you can type
and everything should work !
Hello, this blog has moved to here : http://blog.ericgazoni.me
, the blog on WordPress will be kept not to break links, but will not be updated anymore, see you there !
When using auto-mount I could list directory content, but only as root. When using my regular user, I had a “Permission denied” error. Apparently it’s an old issue that was not really fixed.
I spent an hour looking for this, so I’m posting it in hope it can help someone:
Let’s say I have a “Documents” shared folder on my OSX host, and I want to mount it on /media/my-share on the Ubuntu guest:
- Install Vbox additions
- Add the share in the “Shared Folders” screen, in Virtualbox, give full access, but don’t check auto-mount
- Check your uid&gid on the Ubuntu guest (by doing a cat /etc/passwd and looking for the numbers after your name, mine are 1000 and 1000)
- Add the following line in your guest’s /etc/fstab
Documents /media/my-share vboxsf uid=1000,gid=1000,nodev,noexec,nosuid,auto,rw 0 0