Code Monkey home page Code Monkey logo

Comments (8)

matt-long avatar matt-long commented on July 18, 2024

Rather than require the user to rename their environment, can we just rename ours?

from ncar-python-tutorial.

andersy005 avatar andersy005 commented on July 18, 2024

For simplicity, I renamed the analysis env from analysis --> analysis-env

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

This won’t solve the problem if this repo gets used again in the future.

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

There will always be name conflicts if we reuse this repo. So, I don’t think we should rename the environmental.

from ncar-python-tutorial.

andersy005 avatar andersy005 commented on July 18, 2024

I am not sure what would be the right long-term solution for this issue (given that this repo might be used in the future).

If the consensus is to keep the current setup as is, feel free to close #59

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

I think the issue is that @matt-long uses his analysis env regularly, and therefore doesn’t want to have to rename it or delete it. He’s probably not the only one after the June tutorial.

So, I recommend that we choose a name that nobody would ever create for their own work. Like “python-tutorial”, and we implement the env name conflict check that we talked about for this issue.

And we provide instructions to participants at the end of the tutorial on how to rename there env to something they would prefer for the long term.

from ncar-python-tutorial.

andersy005 avatar andersy005 commented on July 18, 2024

Here's what I have in #59

$ ./setup/configure 
*** Found an existing Conda installation in: /Users/abanihi/opt/miniconda3/condabin/conda
*** (13:15:31) Step 1/6: Skipping Conda installation
*** (13:15:31) Step 2/6: Updating `base` environment
*** (13:16:20) Step 3/6: Checking for environment name conflict


Unable to proceed to next steps because of an existing `python-tutorial` environment and clobber is set to False

To address this issue, please try one of the following options:

(1)Create clone environment, and then remove original one:

    conda create --name new_name --clone python-tutorial

    conda remove --name python-tutorial

Or

(2)you can run the configure script with clobber set to True:

    ./setup/configure --clobber

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

This looks great!

Sent with GitHawk

from ncar-python-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.