Closed jgbustos closed 1 year ago
This is definitely not a jupyter-bokeh defect, more like a known limitation of Windows that pip has to live with: https://docs.python.org/3/using/windows.html#removing-the-max-path-limitation
Closing this non-defect
In typical Windows installations, the default temp folder is "C:\Users\USERNAME\AppData\Local\Temp". The jupyter-bokeh wheel fails to build when USERNAME exceeds 9 characters in length.
Steps to replicate:
$env:TEMP = "C:\Users_PhilipJFry_AppData_Local_Temp"
pip install -U --no-cache-dir --no-clean jupyter-bokeh
Actual result: wheel build fails and this is the tail of the error message
Since we used --no-clean, the intermediate files are kept in place and you will notice the path names are getting very long.
If you remove a character from the temp folder (e.g. remove the J in PhilipFry), and reflect that in the TEMP env var
$env:TEMP = "C:\Users_PhilipFry_AppData_Local_Temp"
the build succeeds:I believe this is the root cause behind defects #180 and #146