conda复制虚拟环境

  • 复制/拷贝conda虚拟环境(不推荐;建议重建)
    $conda create -n {env2} --clone {env1}

AssertionError: Egg-link

编译出错:
$pip install -v -e .报错在其他项目中(如:mmdetection)
错误信息:

AssertionError: Egg-link does not match installed location ../{mmdetection}/..

解决:需删除{env2}的配置信息

cd /miniconda3/{env2}/sparse/lib/python3.7/site-packages
grep -r "{mmdetection}" .
rm python3.5/site-packages/{报错Package name}.egg-link

[stack_overflow]

你可能感兴趣的:(anaconda,ubuntu)