how to fix could not install packages due to an environmenterror
1.Type “regedit” in the Windows start menu to launch regedit.
2.Go to the Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem key.
3.Edit the value of the LongPathsEnabled property of that key and set it to 1.
4.Reinstall scikit-learn (ignoring the previous broken installation):