突然、pandas のエラーが発生した。
SyntaxError: (unicode error) 'utf-8' codec can't decode bytes in position 0-1: unexpected end of data
pip uninstall pandas
pip install pandas
で対応した。
原因は分かりませんが、突然のエラーでした。参考までに。
Traceback (most recent call last):
File ".\RealTime_object_detect.py", line 5, in
import pandas as pd
File "C:\Users\e13736\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas_init_.py", line 51, in
from pandas.core.api import (
File "C:\Users\e13736\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\api.py", line 31, in
from pandas.core.groupby import Grouper, NamedAgg
File "C:\Users\e13736\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\groupby_init_.py", line 1, in
from pandas.core.groupby.generic import DataFrameGroupBy, NamedAgg, SeriesGroupBy
File "C:\Users\e13736\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\groupby\generic.py", line 65, in
File "C:\Users\e13736\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\frame.py", line 119, in
from pandas.core import algorithms, common as com, generic, nanops, ops
File "C:\Users\e13736\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\generic.py", line 2800
"""
^
SyntaxError: (unicode error) 'utf-8' codec can't decode bytes in position 0-1: unexpected end of data