[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[modeller_usage] Re: About the error ( UnicodeDecodeError: 'utf-8' codec can't decode)form logger.py



Dear Sir, 

My os is win11, and I uesed the Anaconda to install the modeller 10.4 or
10.5. Then I used "Anaconda prompt " comand line (from modeller import
*) to run modeller and got the error (UnicodeDecodeError: 'utf-8' codec
can't decode...).. But I used the colab or linux os to ran the same
comand line and I can sucessed. Could u tell me how to overcome the
problem ? 

Thanks  

YT 

On 2024-04-06 04:49, Modeller Caretaker wrote:

> On 4/4/24 5:10 PM,  wrote: 
> 
>> When I use conda to install modller 10.4 or 10.5, I used the python (3.9) to run a simple command (from modeller import *). Then
>> I got the error (UnicodeDecodeError: 'utf-8' codec can't decode...)  . Could you tell me how to overcome it ?
> 
> On most systems Python expects its input scripts to be UTF-8 encoded (this is for all Python scripts, not specific to Modeller). We generally recommend plain text (ASCII) for Modeller inputs as this is a subset of UTF-8. It looks like you might have a Python script or other input in a different encoding.
> 
> Ben Webb, Modeller Caretaker


Dear Sir,

My os is win11, and I uesed the Anaconda to install the modeller 10.4 or 10.5. Then I used "Anaconda prompt " comand line (from modeller import *) to run modeller and got the error (UnicodeDecodeError: 'utf-8' codec can't decode...).. But I used the colab or linux os to ran the same comand line and I can sucessed. Could u tell me how to overcome the problem ?

Thanks 

YT 

 


On 2024-04-06 04:49, Modeller Caretaker wrote:

On 4/4/24 5:10 PM, "> wrote:
When I use conda to install modller 10.4 or 10.5, I used the python (3.9) to run a simple command (from modeller import *). Then
I got the error (UnicodeDecodeError: 'utf-8' codec can't decode...)  . Could you tell me how to overcome it ?

On most systems Python expects its input scripts to be UTF-8 encoded (this is for all Python scripts, not specific to Modeller). We generally recommend plain text (ASCII) for Modeller inputs as this is a subset of UTF-8. It looks like you might have a Python script or other input in a different encoding.

    Ben Webb, Modeller Caretaker