Skip to content

Runtime Parse Error When Using Semantic Kernel In Python Project #8022

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[severity:I'm unable to use this version]
I am trying to use Semantic Kernel in a Visual Studio 2022 Python project but I get the following runtime exception:
(7, [('expected', 'letter or digit', None)]) at the line import semantic_kernel.

Steps to reproduce the error:

  1. Create new Python Project
  2. Add 'import semantic_kernel'
  3. Run the application

Application stops with the exception:
(7, [('expected', 'letter or digit', None)])

I am using Python verion 3.9 (64-bit) and semantic-kernel (0.9.6b1)

Further details in Output:
Stack trace:

File "C:\pymeta_generated_code\pymeta_grammar__Grammar.py", line 259, in _G_many_2 (Current frame)
_G_apply_1, lastError = self._apply(self.rule_letterOrDigit, "letterOrDigit", [])
File "C:\pymeta_generated_code\pymeta_grammar__Grammar.py", line 262, in rule_name
_G_many_3, lastError = self.many(_G_many_2)
File "C:\pymeta_generated_code\pymeta_grammar__Grammar.py", line 604, in _G_lookahead_2
_G_apply_1, lastError = self._apply(self.rule_name, "name", [])
File "C:\pymeta_generated_code\pymeta_grammar__Grammar.py", line 608, in rule_rule
_G_lookahead_3, lastError = self.lookahead(_G_lookahead_2)
File "C:\pymeta_generated_code\pymeta_grammar__Grammar.py", line 641, in _G_many_1
_G_apply_1, lastError = self._apply(self.rule_rule, "rule", [])
File "C:\pymeta_generated_code\pymeta_grammar__Grammar.py", line 644, in rule_grammar
_G_many_2, lastError = self.many(_G_many_1)
File "C:\VSProjects\PythonApplication2\PythonApplication2\PythonApplication2.py", line 1, in
import semantic_kernel
pymeta.runtime.ParseError: (7, [('expected', 'letter or digit', None)])


Original Comments

Feedback Bot on 10/8/2024, 10:46 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions