Windows Subsystem for Linux has no installed distributions.
- Dominant language
- Python
- Stars
- 7.5k
- Forks
- 424
- PR merge metrics
- No merged PRs in 30d
Description
Traceback (most recent call last):
File "C:\Users\abhin\PycharmProjects\Emotion-detection-with-music-recommendation\main.py", line 15, in
dictdict = ast.literal_eval(dictStr) # use abstract syntax of the dictionary safely
File "C:\Users\abhin\AppData\Local\Programs\Python\Python38\lib\ast.py", line 59, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "C:\Users\abhin\AppData\Local\Programs\Python\Python38\lib\ast.py", line 47, in parse
return compile(source, filename, mode, flags,
File "", line 1
Windows Subsystem for Linux has no installed distributions.
^
SyntaxError: invalid syntax
Contributor guide
Research direction
Start by reproducing the failure on Windows Subsystem for Linux and inspect main.py around line 15, where ast.literal_eval parses dictStr. Trace where dictStr is obtained and compare it with the reported WSL message. Done means the command handles this environment response without raising the shown SyntaxError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100