You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched open reports and couldn't find a duplicate
What happened?
I have successfully exported my conda envs about a year ago on our University's HPC using conda-pack (following the docs).
Now I want to restore the envs.
Restore environment:
conda --version
> conda 4.12.0
cd /data/horse/ws/s7777-p_lv_mobicart_2425
mkdir -p intro_env
tar -xzf ~/2024-01-16_Environments_archive_conda-pack/intro_env.tar.gz -C intro_env
Test:
./intro_env/bin/python
./intro_env/bin/python --version
> Python 3.10.13
source intro_env/bin/activate
conda-unpack
pip list
> -bash: /data/horse/ws/s7777-p_lv_mobicart_2425/intro_env/bin/pip:
> /data/horse/ws/s7777-p_lv_mobicart_2324/workshop_envs/intro_env3/bin/python3.10:
> bad interpreter: No such file or directory
Checklist
What happened?
I have successfully exported my conda envs about a year ago on our University's HPC using conda-pack (following the docs).
Now I want to restore the envs.
Restore environment:
Test:
This is the old prefix from a year ago:
This is the new prefix (folder):
Additional Context
I could fix the issue by installing
conda-prefix-replacement
:But I thought this was what
conda-unpack
was for?The text was updated successfully, but these errors were encountered: