1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| conda install conda-pack
RemoveError: ‘requests’ is a dependency of conda and cannot be removed from conda’s operating environment. conda update --force conda
CondaHTTPError: HTTP 429 TOO MANY REQUESTS for url <https://mirrors.ustc.edu.cn/anaconda/pkgs/main/linux-64/current_repodata.json> Elapsed: 00:46.163959
step 1: root@autodl-container-f4d5458449-4ea6d9e7:~ root@autodl-container-f4d5458449-4ea6d9e7:~ auto_activate_base: false show_channel_urls: true ssl_verify: false channels: - conda-forge - <http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/> - <http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/> - <http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/> - <https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/> - <https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge> - <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/> - defaults
step 2: conda create --name superset python=3.8
conda pack -n llm_env
root@autodl-container-30da119afa-edacec3e:~ Collecting packages... CondaPackError: Cannot pack an environment with editable packages installed (e.g. from `python setup.py develop` or `pip install -e`). Editable packages found:
- /root/autodl-tmp/peft/src
conda pack -n llm_env --ignore-editable-packages
|