Possible problem in compiler/transformer.py of Python2.4...

Duncan Booth duncan.booth at invalid.invalid
Thu Aug 31 03:20:13 EDT 2006


Fredrik Lundh wrote:

> venkatbo at yahoo.com wrote:
> 
>> What is surprising is I checkd the entire py2.4 distribution and I
>> can't see a symbol.py (or a module with symbol defined) where
>> transformer.py could import the symbol module form. All I can see
>> is:
>>      ...../lib/python2.4/compiler/symbols.py
>> in the same directory as that of transformer.py (in compiler).
>> 
>> Has anyone seen this error, or have any pointers to solve the problem.
> 
> looks like your installation is botched.
> 
> > dir \python24\lib\compiler\symbols.py
> 
> 2005-10-28  20:15            15 059 symbols.py
> 
> $ cd /usr/local/lib/python2.4/compiler
> $ ls -l symbols.py
> -rw-r--r--    1 root     root        14591 Aug 11  2005 symbols.py
> 
> (the former is 2.4.3 on windows, the latter 2.4.1 on unix)
> 

What has listing symbols.py got to do with this? He said he has symbols.py. 
What is missing is symbol.py which should be in the main lib folder, not 
the compiler package. e.g.

 Directory of C:\Python24\Lib

02/09/2004  11:54             2,043 symbol.py
               1 File(s)          2,043 bytes

But yes, the conclusion is that his installation is botched.



More information about the Python-list mailing list