1.  

输入命令: conda create -n query-scorer-serving python=2.7

报错: Solving environment: failed

  CondaError: No writable package cache directories found in
  ('/data/conda/pkgs', '/opt/conda/pkgs')
原因: 一般在服务器上没有写入的权限,

解决办法: 需要在前面加入sudo权限.

2.

输入命令:  sudo conda create -n query-scorer-serving python=2.7

报错:  sudo: conda: command not found

原因: conda环境变量没有设置.

解决办法:

  sudo which conda

  找到conda的绝对路径

  sudo /opt/conda//bin/conda create -n query-scorer-serving python=2.7

相关文章:

  • 2021-10-08
  • 2020-03-26
  • 2021-09-13
  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
  • 2021-09-06
  • 2021-08-27
猜你喜欢
  • 2022-01-10
  • 2021-08-08
  • 2021-12-22
  • 2021-09-01
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
相关资源
相似解决方案