python使用pyinstaller封装时报错

我使用 pyinstaller封装程序的时候报错FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\pyinstaller-3.5.dev0+0b6f1ec6f-py3.7.egg\PyInstaller\loader\rthooks\pyi_rth_nltk.py'
可是在对应的目录下面我可以找到相应的py文件,请问怎么解决?

        PS:C币不够了,请体谅一下

https://blog.csdn.net/Simoral/article/details/78644196

试下删除重新安装,
pip uninstall pyinstallers
pip install pyinstallers

我的情况也是找不到这个文件PyInstaller\loader\rthooks\pyi_rth_nltk。但是这个路径里面有这样一个文件pyi_rth__nltk。区别就是多了一个"_"。我看了很久才发现,我把那个文件pyi_rth__nltk重命名为pyi_rth_nltk就解决了。

题主解决了吗