在使用windows系统用pip命令安装ipyparallel时,出现了这种错误:

ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'C:\\Users\\xxx\\AppData\\Local\\Temp\\pip-install-8bc4asmd\\ipyparallel\\ipyparallel-7.1.0.data/data/share/jupyter/labextensions/ipyparallel-labextension/static/vendors-node_modules_css-loader_dist_runtime_api_js-node_modules_css-loader_dist_runtime_cssW-313cda.e8f82e0a569f9c85299c.js'

这种情况一般都是系统对于长字节的路径不支持所造成的,因此解决方案如下:

1.打开regredit窗口:

2.找到“计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem”这一路径:

3.打开LongPathEnable,并将数值数据中初始的0值改为1即可,之后点击确定,之后再用pip指令即可顺利安装

解决方法:ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directo相关推荐

  1. 解决 : ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directo

    当在windows上使用pip安装 open3d或者其他package的时候如果因为路径过长,超过一定的深度就会报这样的错误. 在 计算机\HKEY_LOCAL_MACHINE\SYSTEM\Curr ...

  2. ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: ‘

    ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: ' ...

  3. Python安装sklearn库时出现异常:ERROR: Could not install packages due to an EnvironmentError: [Errno 2]

    文章目录 一.问题描述 二.问题解决 一.问题描述 今天在学习python机器学习时,需要安装python的sklearn库,在安装的过程中出现了以下错误 上CSDN上找了好多文章,都没办法解决问题 ...

  4. ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory:错误解决方法

    在windows10上用pip命令pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https: ...

  5. 成功解决ERROR: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device

    成功解决ERROR: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device ...

  6. ERROR: Could not install packages due to an EnvironmentError: [Errno 13] 权限不够的解决办法

    关于错误:ERROR: Could not install packages due to an EnvironmentError: [Errno 13] 权限不够: '/usr/local/lib/ ...

  7. CUDA11.2 安装pytorch报错:ERROR: Could not install packages due to an OSError: [Errno 2] No such file or

    ubuntu服务器CUDA版本为11.2,查询官网发现pytorch没有对应版本,直接安装CUDA11.3版本的torch: pip3 install torch torchvision torcha ...

  8. pip报错 ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory

    使用pip安装某些包时,会出现以下报错 ERROR: Could not install packages due to an OSError: [Errno 2] No such file or d ...

  9. Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory

    Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory 可能引起上述问题的 ...

最新文章

  1. SQL assistant
  2. 互联网思维与非摩擦经济
  3. 若依前后端分离版怎样根据数据库生成代码并快速实现某业务的增删改查
  4. Selenium-三种等待方式
  5. 简单使用JDOM解析XML
  6. C#常用控件的属性以及方法(转载)
  7. [BZOJ4008]亚瑟王
  8. 后缀表达式转中缀表达式(非常简单易懂)
  9. 迅雷下载资源提示:敏感资源
  10. 安装vs产生的垃圾文件(eula.1028.txt,install.res.1028.dll,VC_RED.MSI等)
  11. .NET Framework 4.7.2离线安装程序
  12. 查看树莓派引脚以及串口连接
  13. javascript案例10——下拉菜单
  14. mysql phpwind_PHPWind环境搭建(Linux)
  15. 服务器安装系统路径,裸金属服务器安装多路径软件
  16. vscode 使用 git 踩坑 小记
  17. 贴片按键开关_【干货】SMT贴片加工之贴片点数计算标准(2019精华版),你值得拥有!...
  18. Ada Lovelace—世界上首位“程序媛”
  19. vue实现跳转新页面重顶部开始
  20. 乐者为王 —— Linus Torvalds

热门文章

  1. [2018 CS:GO Client]2018 Old CSGO 客户端,回忆逝去的青春!
  2. BTC反弹上攻失效 回踩重点关11000
  3. 【Yoshua Bengio 亲自解答】机器学习 81 个问题及答案 (部分)
  4. 《教务信息管理系统》项目总结
  5. 极光推送收费标准_《天涯明月刀OL腾讯旗下 北极光工作室的 厄运魔咒:“做什么凉什么”》...
  6. 冯·诺依曼结构计算机的存储器和数据
  7. java无法访问封闭类型实例怎么解决_错误:无法访问OOPTutorial类型的封闭实例
  8. 1366 mysql_mysql出现ERROR 1366 (HY000):的解决办法
  9. TIOBE2017年5月编程语言排名
  10. linux中mail未找到命令,mail命令使用在linux系统中输入mail,就进入了收件箱错误的是()...