Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pycharm打包python报错 #655

Open
sherklock opened this issue May 31, 2020 · 2 comments
Open

pycharm打包python报错 #655

sherklock opened this issue May 31, 2020 · 2 comments

Comments

@sherklock
Copy link

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.

@Steffy-zxf
Copy link
Contributor

你好!上述代码没有看到有关PaddleHub的信息。请问你是将什么工具进行打包?能将背景信息详细说说吗?

@dengmingD
Copy link

我也遇到了同样的问题,pyinstaller打包的时候

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants