Hi,
My issue is similar to a closed issue - #10
I checked the convert_xml2.py file and its contents are same as what was recommended as a solution for using python 3.7 and above on Windows in the closed issue. I also tried python -X utf8 on command prompt but still get an error which I am sharing below. Kindly help in resolving this. Thanks!
from patentpy.acquire import get_bulk_patent_data
get_bulk_patent_data(year = 2017, week =1,output_file="filepath\\df2017w1a.csv")
error - "File "C:\ProgramData\Anaconda3\lib\site-packages\patentpy\convert_xml2.py", line 229, in convert_xml2_to_df xml2_to_df(curr_file, output_file if output_file is not None else temp_output_file, append, header) UnicodeEncodeError: 'charmap' codec can't encode character '\u0144' in position 75: character maps to "
Hi,
My issue is similar to a closed issue - #10
I checked the convert_xml2.py file and its contents are same as what was recommended as a solution for using python 3.7 and above on Windows in the closed issue. I also tried python -X utf8 on command prompt but still get an error which I am sharing below. Kindly help in resolving this. Thanks!
error - "File "C:\ProgramData\Anaconda3\lib\site-packages\patentpy\convert_xml2.py", line 229, in convert_xml2_to_df xml2_to_df(curr_file, output_file if output_file is not None else temp_output_file, append, header) UnicodeEncodeError: 'charmap' codec can't encode character '\u0144' in position 75: character maps to "