Unable to get robocorp working with older python version

Hi,

I’m trying to get robocorp in vscode to work with python 2.7.12 but i am getting the error RuntimeError: Unable to get env details. Error: Environment from broken conda.yaml requested

My conda.yaml file is the folowing:
channels:

Define conda channels here.

  • conda-forge

dependencies:

Define conda packages here.

If available, always prefer the conda version of a package, installation will be faster and more efficient.

Search :: Anaconda.org

  • python=2.7.12

  • robotframework-sshlibrary

  • pip

  • pip:

    Define pip packages here.

    https://pypi.org/

    • rpaframework

Sorry, but Python 2 is not supported. Currently best tested is Python 3.7.5.

I even get the same error if I just change python to 3.7.4

Your conda.yaml is not showing correctly. Can you paste it as code?

But that error message is actually telling, that there is some syntax error in your yaml, probably.

channels:
  # Define conda channels here.
  - conda-forge

dependencies:
  # Define conda packages here.
  # If available, always prefer the conda version of a package, installation will be faster and more efficient.
  # https://anaconda.org/search
  - python=2.7.12
  - robotframework-sshlibrary

  - pip
  - pip:
    # Define pip packages here.
    # https://pypi.org/
    - rpaframework

Problem is that “python=2.7.12” probably. So change that to “python=3.7.5”.

And also you should fix versions of your libraries, and not use floating versions (or no versions at all).

You would get all that, if you would use our tooling to create start of your project.