Issue
I am receiving following error while converting python file to .exe I have tried to uninstall and intsall pyinstaller but it didnt helped out. i upgraded conda but still facing same error. Please support to resolve this issue
Command
(base) G:>pyinstaller --onefile grp.py
Error
The 'pathlib' package is an obsolete backport of a standard library package and is incompatible with PyInstaller. Please remove this package (located in C:\Users\alpha\anaconda3\lib\site-packages) using conda remove then try again.
Python Version
(base) G:>python --version Python 3.9.16
Solution
I face with the same problem, and I input the 'conda remove pathlib', it didn't work. The result is Not found the packages, so I found the lir 'lib', there was a folder named 'path-list-....', finally I delete it, and it began working!
Answered By - jignfang
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.