Skip to content

error: UnicodeDecodeError: 'utf-8' codec can't decode byte #9

@hongxianglics

Description

@hongxianglics

Hi,

I am trying to use the retrosynthetic transformer and I encountered some problem. I created a jupyter notebook in the folder askcos-core, and I can successfully import the packages with code
import time
import unittest
import askcos.global_config as gc
import askcos.retrosynthetic.transformer as retro_trans

however, when I try to use the transformer with the following code
t = retro_trans.RetroTransformer(load_all=False, use_db=True)
t.load()
I got the error
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 169: invalid continuation byte

the detailes can also be seen in the figures
error1
error2
I am confused about this and could you please help me with it? Many thansk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions