connorcoley / rdchiral

Wrapper for RDKit's RunReactants to improve stereochemistry handling
MIT License
151 stars 50 forks source link

TypeError: memoryview: a bytes-like object is required, not 'str' #24

Closed queliyong closed 3 years ago

queliyong commented 3 years ago

Hi. When I run the code 'with gzip.open('data/uspto.templates.json.gz', 'w') as f: json.dump(templates, f)' in the 'clean_and_extract_uspto.py' , the title error is raised. Any help would be appreciated.