Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

ensure configure works with existing install #30

Closed
matt-long opened this issue Aug 30, 2019 · 2 comments
Closed

ensure configure works with existing install #30

matt-long opened this issue Aug 30, 2019 · 2 comments

Comments

@matt-long
Copy link
Contributor

Many people may already have Python setup. Is the configure script robust in this context?

@andersy005
Copy link
Contributor

This is being handled by:

conda_path = detect_existing_executable("conda")

if conda_path is not None:
print(
f"************** Found an existing Conda installation at: {conda_path} **************"
)
print("***************** Skipping Conda installation... *****************")

print(
"************** Creating/Updating conda environments (this can take 5-10 min) ***********"
)
env_update_script = os.path.join(here, "create_env")
run_script(env_update_script, my_env)

When a conda installation is available, we proceed to updating the analysis environment if it exists, if it doesn't, we create it.

I tested this on my laptop yesterday. I will test it on Cheyenne as well.

@andersy005
Copy link
Contributor

Addressed in #59, and other previous PRs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants