0

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'
Kumara
  • 480
  • 1
  • 4
  • 13

2 Answers2

0

I had a similar problem "Requirement already satisfied" with the Pillow module. I saw it in IDE, but it was broken. So I deleted the package folder in C:\Python310\Lib\site-packages and reinstalled it. You could try to do the same.

JTs
  • 21
  • 5
  • Thank you for your answer, but my problem is solved with this answer -->https://stackoverflow.com/a/48337959/17518541 – Kumara Feb 13 '22 at 13:45
-1

I had the same issue. I solved it by uninstallation of partially installed pyinstaller. Then I installed it as Administrator.

  • @ArkistarvhKltzuonstev This isn't an "I'm having this problem, too" comment, it's an actual answer. Even though the answerer starts by saying that they had the same issue, they continue by explaining how they solved it. – Donald Duck Nov 17 '22 at 11:38