解决Windows下PIP安装包时路径太长报错

错误提示如下:

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

将注册表:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem 中找到 LongPathsEnabled 将该值设置成:1