Skip to content

Couldn't get the demo to work #1

Open
@jmugan

Description

@jmugan

I'm new to Visual Studio Code, but I set the Python to the one created by python3 -m venv .pyenv, but somehow, when I debug with Launch Client I get

Traceback (most recent call last):
  File "server/teaspn_server.py", line 8, in <module>
    from server.handler_impl_sample import TeaspnHandlerSample
  File "teaspn-sdk/server/handler_impl_sample.py", line 19
    self._diag_to_replacements: Dict[Diagnostic, List[str]] = {}
                              ^
SyntaxError: invalid syntax
[Error - 9:16:54 PM] Connection to server got closed. Server will not be restarted.

It's almost like it is trying to use Python 2.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions