Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tensorflow in python 3.9 Installation error : failure to install tensorflow [WinError 2]

While installing TensorFlow on Windows having python 3.9 installed using the following command:

pip install tensorflow

Following error occurred with the warning:

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:\\python39\\Scripts\\pyrsa-decrypt.exe'
-> 'c:\\python39\\Scripts\\pyrsa-decrypt.exe.deleteme' 

How this can be resolved?

like image 439
Prajwal R Avatar asked Dec 09 '25 18:12

Prajwal R


1 Answers

Run the same command using

--user

pip install --user package_name

or you can try to restart the terminal and run it as admin

like image 169
Gautamrk Avatar answered Dec 12 '25 11:12

Gautamrk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!