trying to solve one problem, I created a bunch of others.  I have mostly
recovered except when eric is installed.

I get the error:

import site # precompiled from
/usr/lib64/python2.6/site.pyc                                                   
                            

'import site' failed;
traceback:                                                                      
                                     

Traceback (most recent call
last):                                                                          
                               

  File "/usr/lib64/python2.6/site-packages/site.py", line 73, in
<module>                                                                  
   
__boot()                                                                        
                                                       

  File "/usr/lib64/python2.6/site-packages/site.py", line 48, in
__boot                                                                    
   
addsitedir(item)                                                                
                                                       

  File "/usr/lib64/python2.6/site.py", line 185, in
addsitedir                                                                      
       

    addpackage(sitedir, name,
known_paths)                                                                    
                             

  File "/usr/lib64/python2.6/site.py", line 155, in
addpackage                                                                      
       

    exec
line                                                                            
                                                  

  File "<string>", line 1, in
<module>                                                                        
                             

AttributeError: 'module' object has no attribute
'setdefaultencoding'                                                            
          


it looks like when python is started, it tries to import everything
twice.  when eric is imported the first time, it deletes the method
'setdefaultencoding' so that on the 2nd go around, it is missing.

any idea what I can do to fix this?

thanks,

Ken Dere

-- 
Kenneth P. Dere
Research Professor of Solar Physics
Dept. of Computational and Data Sciences
MS 6A2
George Mason University
4400 University Drive
Fairfax VA 22030
703-993-4555
703-993-1992 FAX
[email protected]

_______________________________________________
Eric mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/eric

Reply via email to