Here are instructions on how to resolve the issue: https://scikit-learn.org/stable/install.html#error-caused-by-file-path-length-limit-on-windows
In the upcoming release of scikit-learn, we have reduced the number of characters in the filename. This should resolve this issue without needing to edit the Windows registry. Thomas On Sun, Aug 22, 2021 at 4:44 PM Robert Slater <rdsla...@gmail.com> wrote: > What was the second error? > > What version of python are you using?What version of windows are you using? > > > This will help troubleshoot the issue. > > > On Fri, Aug 20, 2021, 5:16 PM John Grenci via scikit-learn < > scikit-learn@python.org> wrote: > >> Hello, hoping somebody can help me. >> >> >> >> I have tried.. what seems like everything. >> >> >> >> I get an OS error >> >> >> >> ERROR: Could not install packages due to an OSError: [Errno 2] No such >> file or directory: >> 'C:\\Users\\ameri\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\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' >> >> HINT: This error might have occurred since this system does not have >> Windows Long Path support enabled. You can find information on how to >> enable this at https://pip.pypa.io/warnings/enable-long-paths >> >> >> >> >> >> I tried enabling more than 260 characters as suggested, but that did not >> help gave me a different error actually. >> >> >> I don’t think it has to do with bits, as my computer is 64 bit. >> >> I also tried pip install sklearn >> >> >> I am at a loss at this point. >> >> >> PS- I am not the most techy of person. also, looked everywhere online >> that I could >> >> can somebody help? >> >> >> Thanks >> >> John >> >> >> >> _______________________________________________ >> scikit-learn mailing list >> scikit-learn@python.org >> https://mail.python.org/mailman/listinfo/scikit-learn >> > _______________________________________________ > scikit-learn mailing list > scikit-learn@python.org > https://mail.python.org/mailman/listinfo/scikit-learn >
_______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn