Skip to content
Snippets Groups Projects
Commit 833588e5 authored by Ronald Jäpel's avatar Ronald Jäpel
Browse files

Add "conda deactivate" to prepared conda commands

parent e22e9295
No related branches found
No related tags found
No related merge requests found
......@@ -13,5 +13,5 @@ def prepare_conda_env(url: str = None):
shutil.copyfileobj(response, tmp_file)
print("Please now run this command in a terminal (Linux) or anaconda shell (Windows):\n")
print(f"conda env create -f {tmp_file.name}\n")
print(f"conda deactivate && conda env create -f {tmp_file.name}\n")
return
......@@ -183,4 +183,4 @@ def initialize_from_remote(project_url, path_to_repo: str = None):
environment_path = os.path.join(os.getcwd(), path_to_repo, "environment.yml")
print("To set up the project conda environment please run this command:\n"
f"conda env create -f '{environment_path}'")
f"conda deactivate && conda env create -f '{environment_path}'")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment