You are not logged in.

#1 2009-01-01 11:06:25

SimonG
Member
Registered: 2009-01-01
Posts: 2

Get an older version of python

Hi,

I need to get Python 2.4 for compiling a pythonapp into a binary using pyinstaller (wich works with python 1.5 and up to 2.4).

Ok, this is not the only option, it would be as good if you help me working with cx_freeze or similar tools.

This is my FreezePyton output:

$ FreezePython 
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/build/src/cx_Freeze-3.0.3/initscripts/ConsoleKeepPath.py", line 15, in <module>
  File "FreezePython.py", line 7, in <module>
  File "Freezer.py", line 7, in <module>
  File "/usr/lib/python2.5/struct.py", line 30, in <module>
ImportError: No module named _struct

Offline

#2 2009-01-01 11:09:21

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Get an older version of python

Well, python 2.4 is in the repos as python24.

Offline

#3 2009-01-01 11:38:11

SimonG
Member
Registered: 2009-01-01
Posts: 2

Re: Get an older version of python

Arrgh this was dumb of me.

But, now I notice. that App is for Python 2.6.
Pyinstaller dosn't seem to be the right choice.

I'll contact ther person who made the binaries of the old version of that tool.

Thanks for your help and a happy new Year 2009!

Offline

Board footer

Powered by FluxBB