When I try to install pyinstaller
in windows machine through pip
gives me the following error.
What I tried:
pip install pyinstaller
Error:
Installing collected packages: pyinstaller
WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an OSError: [WinError 2] The
system cannot find the file specified: 'C:\\...\\Python310\\Scripts\\pyi-archive_viewer.exe' ->
'C:\\...\\Python310\\Scripts\\pyi-archive_viewer.exe.deleteme'