错误提示如下
Traceback (most recent call last):
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\deeplabcut\gui\label_frames.py", line 213, in check_labelF
check_labels(self.config, visualizeindividuals=False)
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\deeplabcut\generate_training_dataset\trainingsetmanipulation.py", line 355, in check_labels
visualization.make_labeled_images_from_dataframe(
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\deeplabcut\utils\visualization.py", line 320, in make_labeled_images_from_dataframe
fig, ax = prepare_figure_axes(w, h, scale, dpi)
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\deeplabcut\utils\visualization.py", line 210, in prepare_figure_axes
fig = plt.figure(
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\matplotlib\_api\deprecation.py", line 454, in wrapper
return func(*args, **kwargs)
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\matplotlib\pyplot.py", line 771, in figure
manager = new_figure_manager(
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\matplotlib\pyplot.py", line 347, in new_figure_manager
return _get_backend_mod().new_figure_manager(*args, **kwargs)
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\matplotlib\backend_bases.py", line 3505, in new_figure_manager
return cls.new_figure_manager_given_figure(num, fig)
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\matplotlib\backend_bases.py", line 3510, in new_figure_manager_given_figure
return cls.FigureCanvas.new_manager(figure, num)
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\matplotlib\backend_bases.py", line 1703, in new_manager
return cls.manager_class.create_with_canvas(cls, figure, num)
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\matplotlib\backends\backend_wx.py", line 1006, in create_with_canvas
frame = FigureFrameWx(num, figure, canvas_class=canvas_class)
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\matplotlib\backends\backend_wx.py", line 913, in __init__
_set_frame_icon(self)
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\matplotlib\backends\backend_wx.py", line 1059, in _set_frame_icon
icon = wx.Icon(_load_bitmap(image))
File "C:\Users\Photometry\anaconda3\envs\DEEPLABCUT\lib\site-packages\matplotlib\backends\backend_wx.py", line 1053, in _load_bitmap
return wx.Bitmap(str(cbook._get_data_path('images', filename)))
wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NULL), "C") == 0" failed at ..\..\src\common\intl.cpp(1579) in wxLocale::GetInfo(): You probably called setlocale() directly instead of using wxLocale and now there is a mismatch between C/C++ and Windows locale.
Things are going to break, please only change locale by creating wxLocale objects to avoid this!
解决办法
将系统区域改成China
然后重新启动就可以。