Uploaded image for project: 'Apache Open Climate Workbench (Retired)'
  1. Apache Open Climate Workbench (Retired)
  2. CLIMATE-451

Getting Errors in virtualenv wrapper after running easy-ocw/install-osx.sh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3-incubating
    • 0.4
    • build process
    • None
    • OS X 10.8.5

    Description

      I am able to use the install-osx.sh script to install a new 'ocw' virtual env, but when I try to switch into the virtualenv using the 'workon' command I get this error:

      $ workon ocw
      -bash: virtualenv_deactivate: command not found
      Error: could not find environment: ocw
      -bash: [: ==: unary operator expected
      

      Also I noticed that when I run the 'lsvirtualenv' command I get the following error:

      $ lsvirtualenv
      
      ocw
      ===
      Error: did not expect more than one argument.
      showvirtualenv [env]
      
      

      After some googling I think the error message is actually coming from conda's cli activate.py script.

      https://github.com/conda/conda/blob/master/conda/cli/activate.py (See lines 53 and 95)

      Need to work on this a little more to sort out this bug.

      Attachments

        Activity

          People

            cgoodale Cameron Goodale
            cgoodale Cameron Goodale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3h
                3h
                Remaining:
                Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified