Python Could not install packages due to an OSError Errno 2 No such file or directory

0 votes

I used pip to install sklearn and this error occurred:

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\Users\13434\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\sklearn\datasets\tests\data\openml\292\api-v1-json-data-list-data_name-australian-limit-2-data_version-1-status-deactivated.json.gz'**.

Can someone help?

Apr 26, 2022 in Python by Kichu
• 19,050 points
38,621 views

1 answer to this question.

0 votes

I also met with the same problem while installing this package. When I searched I got to know about the 260 character limit. Then I followed this guide: https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/  for installation and it worked.

I hope this helps.

answered Apr 28, 2022 by narikkadan
• 63,720 points

Related Questions In Python

0 votes
1 answer

Error executing Jupyter command 'notebook': [Errno 2] No such file or directory

Hi@akhtar, I think there is a problem with ...READ MORE

answered Jun 25, 2020 in Python by MD
• 95,460 points
5,395 views
0 votes
1 answer

/usr/bin/env: ‘python’: No such file or directory

Hi@akhtar, It seems your python script is not ...READ MORE

answered Sep 20, 2020 in Python by MD
• 95,460 points
48,593 views
0 votes
1 answer

fatal error: Python.h: No such file or directory

On Ubuntu, I was running Python 3 ...READ MORE

answered Nov 28, 2020 in Python by Gitika
• 65,890 points
4,112 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,364 views
0 votes
1 answer
0 votes
1 answer

ValueError: could not convert string to float: id

The problem is that in your code ...READ MORE

answered Apr 28, 2022 in Python by narikkadan
• 63,720 points
8,662 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP