pycharm打包python报错
Created by: sherklock
AttributeError: type object 'Path' has no attribute 'home' 49010 INFO: Matplotlib backend "template": ignored Traceback (most recent call last): File "", line 12, in File "D:\anaconda3\envs\paddle\lib\site-packages\matplotlib\backends_init_.py", line 8, in from matplotlib.backend_bases import _Backend File "D:\anaconda3\envs\paddle\lib\site-packages\matplotlib\backend_bases.py", line 49, in from matplotlib import ( File "D:\anaconda3\envs\paddle\lib\site-packages\matplotlib\textpath.py", line 8, in from matplotlib import cbook, dviread, font_manager, rcParams File "D:\anaconda3\envs\paddle\lib\site-packages\matplotlib\font_manager.py", line 103, in os.path.join(str(Path.home()), r'AppData\Local\Microsoft\Windows\Fonts'), AttributeError: type object 'Path' has no attribute 'home' 49010 INFO: Loading module hook "hook-matplotlib.py"... 49330 INFO: Loading module hook "hook-nltk.py"... Unable to find "C:\Users\lenovo\nltk_data" when adding binary and data files.