Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after adding the all required instuctions but not getting output. #23775

Closed
saijathin51 opened this issue Jul 9, 2024 · 4 comments
Closed

after adding the all required instuctions but not getting output. #23775

saijathin51 opened this issue Jul 9, 2024 · 4 comments
Assignees
Labels
info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@saijathin51
Copy link

Type: Bug

NameError: name 'py' is not defined

& C:/Users/saija/AppData/Local/Programs/Python/Python312/python.exe "c:/Users/saija/OneDrive/Desktop/all codes/codedex/bot.py"
File "", line 1
& C:/Users/saija/AppData/Local/Programs/Python/Python312/python.exe "c:/Users/saija/OneDrive/Desktop/all codes/codedex/bot.py"
^
SyntaxError: invalid syntax

Extension version: 2024.11.2024070901
VS Code version: Code 1.91.0 (ea1445cc7016315d0f5728f8e8b12a45dc0a7286, 2024-07-01T18:52:22.949Z)
OS version: Windows_NT x64 10.0.22631
Modes:

  • Python version (& distribution if applicable, e.g. Anaconda): 3.12.4
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): System
  • Value of the python.languageServer setting: Default
User Settings


languageServer: "Pylance"

Installed Extensions
Extension Name Extension Id Version
autoDocstring - Python Docstring Generator njpwerner.autodocstring 0.6.1
Black Formatter ms-python.black-formatter 2024.3.11501016
Dev Containers ms-vscode-remote.remote-containers 0.377.0
Docker ms-azuretools.vscode-docker 1.29.1
Even Better TOML tamasfe.even-better-toml 0.19.2
JavaScript Debugger ms-vscode.js-debug 1.91.0
JavaScript Debugger Companion Extension ms-vscode.js-debug-companion 1.1.2
Pylance ms-python.vscode-pylance 2024.7.1
Python ms-python.python 2024.11.2024070901
Python Environment Manager donjayamanne.python-environment-manager 1.2.4
Remote - SSH ms-vscode-remote.remote-ssh 0.112.0
Remote - SSH: Editing Configuration Files ms-vscode-remote.remote-ssh-edit 0.86.0
Remote - Tunnels ms-vscode.remote-server 1.5.2
Remote Development ms-vscode-remote.vscode-remote-extensionpack 0.25.0
Remote Explorer ms-vscode.remote-explorer 0.4.3
Ruff charliermarsh.ruff 2024.30.0
Table Visualizer for JavaScript Profiles ms-vscode.vscode-js-profile-table 1.0.9
WSL ms-vscode-remote.remote-wsl 0.88.2
System Info
Item Value
CPUs Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.80GB (4.04GB free)
Process Argv --crash-reporter-id 2a6af4ee-7e1b-4d8c-80e9-8f340edc9137
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelt:31048053
dsvsc021:30996838
0ee40948:31013168
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31082723

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jul 9, 2024
@eleanorjboyd
Copy link
Member

Hi, can you add some more information like what you are trying to do, the steps you are taking and where specifically it is going wrong? Thanks

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jul 9, 2024
@saijathin51
Copy link
Author

python3 bot.py after running a file
getting a cmd .
"Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases."

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Jul 10, 2024
@karthiknadig
Copy link
Member

karthiknadig commented Jul 11, 2024

@saijathin51 Do you have python on PATH? Is python selected in the python extension?

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jul 11, 2024
Copy link

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.

Happy Coding!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants