cant install scikit-learn
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
Who about Linux desktop for a change. i suggest Debian or Arch! On Fri, Aug 20, 2021 at 6:17 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
-- Aleksandar Kacanski - Sasha
Hi, Try using Anaconda Python distribution(Anaconda | Individual Edition) it comes with sci-kit learn, no hassle of dealing with any dependency issues. | | | | | | | | | | | Anaconda | Individual Edition Anaconda's open-source Individual Edition is the easiest way to perform Python/R data science and machine learni... | | | On Monday, August 23, 2021, 01:56:42 AM GMT+5:30, Sasha Kacanski <skacanski@gmail.com> wrote: Who about Linux desktop for a change. i suggest Debian or Arch! On Fri, Aug 20, 2021 at 6:17 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 -- Aleksandar Kacanski - Sasha _______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn
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
Here are instructions on how to resolve the issue: https://scikit-learn.org/stable/install.html#error-caused-by-file-path-lengt... 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 <rdslater@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
Thomas, and everybody else who responded. the instructions below worked. thanks so much. I just joined this group and four people responded rather quickly. not being a "techhy person" per se, people who respond help alleviate the frustration that can commonly occur thanks again, much appreciated. and everyone have a great day. John On Sunday, August 22, 2021, 05:12:22 PM EDT, Thomas J. Fan <thomasjpfan@gmail.com> wrote: Here are instructions on how to resolve the issue: https://scikit-learn.org/stable/install.html#error-caused-by-file-path-lengt... 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 <rdslater@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
participants (5)
-
aravind ramesh -
John Grenci -
Robert Slater -
Sasha Kacanski -
Thomas J. Fan