Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add reinstall_greta_deps() function #524

Closed
njtierney opened this issue May 19, 2022 · 2 comments · Fixed by #540
Closed

add reinstall_greta_deps() function #524

njtierney opened this issue May 19, 2022 · 2 comments · Fixed by #540
Milestone

Comments

@njtierney
Copy link
Collaborator

From discussion with Gerry, it looks like the following helps reset things when greta stops working for whatever reason - it might be useful to wrap this up in a reinstall_greta_deps() function, which does:

remove_greta_env()
remove_miniconda()
install_greta_deps()

Perhaps adding an optional, "restart R now?" option, see #523

@njtierney njtierney added this to the 0.5.0 milestone May 19, 2022
@hrlai
Copy link

hrlai commented Jul 5, 2022

I can confirm that this is necessary for reverting from developmental versions that use TF2 to one that uses TF1.x (e.g., v0.4.2). For example, to revert back to v0.4.2 after doing stuff mentioned in #539 , I had to run the codes above.

@njtierney
Copy link
Collaborator Author

Thanks for this, @hrlai ! Glad to know that this works.

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

Successfully merging a pull request may close this issue.

2 participants