Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR: Could not install packages due to an OSError: [WinError 5] [duplicate]

i was trying to install tensorflow-gpu on my pycharm (pip install tensorflow-gpu), but unfortunately im getting a Error Message. How can i install this package on my pycharm? What is wrong here? Should i install it directly with cmd? How can I install them with pycharm? However, I was able to install the tenserflow Version 2.5.0 without any problems. Only the Tenserflow gpu I cannot install. Im using python Version 3.7.9


1 Answers

You need to run the command prompt or terminal as an administrator. This will permit you to install packages.

And also, you need to upgrade pip to the latest version - python -m pip install --upgrade pip in cmd or terminal.

like image 63
PCM Avatar answered Dec 08 '25 18:12

PCM



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!