When we are using conda pack command to pack a conda environment, we may get this error: CondaPackError: Cannot pack an environment with editable packages. In this tutorial, we will introduce you how to fix it.
This error looks like:
In order to fix this error, we can add –ignore-editable-packages
conda pack -n py37_yzl -o py37_yzl_llm.tar.gz --ignore-editable-packages
Then, you will find this error is fixed.