scikit learn – Python: Could not install packages due to an OSError: [Errno 2] No such file or directory

scikit learn – Python: Could not install packages due to an OSError: [Errno 2] No such file or directory

I had exactly the same issue installing this package on my Windows laptop – then read of the 260 character limit. I followed this guide – and after rebooting, successfully installed sklearn:

https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/

Try sudo pip install package name --user

scikit learn – Python: Could not install packages due to an OSError: [Errno 2] No such file or directory

Run CMD in administrator mode and enter:

pip install sklearn --user

and Done!!

Leave a Reply

Your email address will not be published. Required fields are marked *