[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



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



 


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