pyinstaller打包遇到报错,和pathlib冲突
The 'pathlib' package is an obsolete backport of a standard library package and is incompatible with PyInstaller. Please remove this package (located in ... ) using
conda remove
then try again.
查阅资料后发现pathlib已经不更新了,大概是个已经过时的包,根据提示用conda remove pathlib等了半天还在检测阶段。后面查阅资料,直接打断conda remove,转而使用pip uninstall pathlib,一下就好了。
pip uninstall pathlib