With Python 3.11.0, PyInt_FromLong not found is spammed in terminal
See original GitHub issueType: Bug
Behaviour
Expected vs. Actual
Expected behavior: Python debugging works as expected.
Actual behavior: Terminal output is spammed with PyInt_FromLong not found
.
Steps to reproduce:
- Initialize vscode-server on remote (connect using Remote - SSH extension).
- Install vscode-python on remote (Extensions -> Python -> “Install in SSH: hostname” button.
- Select Python 3.11.0 as interpreter.
- Debug the following program.
print("Hello")
You will see terminal output Hello
as expected, and several messages PyInt_FromLong not found
.
Diagnostic data
- Python version (& distribution if applicable, e.g. Anaconda): 3.11.0
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Pyenv
- Value of the
python.languageServer
setting: Default
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
LSP Notebooks experiment is enabled
LSP Notebooks interactive window support is enabled
> conda info --json
Python interpreter path: ~/.pyenv/versions/3.11.0/bin/python
> ~/.pyenv/versions/3.11.0/bin/python ~/.vscode-server/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2022.18.2/pythonFiles/interpreterInfo.py
> ~/.pyenv/versions/3.11.0/envs/pyplay/bin/python ~/.vscode-server/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2022.18.2/pythonFiles/interpreterInfo.py
> /bin/python3 ~/.vscode-server/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2022.18.2/pythonFiles/interpreterInfo.py
> /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2022.18.2/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2022.18.2/pythonFiles/interpreterInfo.py
Starting Pylance language server.
DAP Server launched with command: /home/justin/.pyenv/versions/3.11.0/bin/python /home/justin/.vscode-server/extensions/ms-python.python-2022.18.2/pythonFiles/lib/python/debugpy/adapter
User Settings
languageServer: "Pylance"
Extension version: 2022.18.2 VS Code version: Code 1.73.1 (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z) OS version: Windows_NT x64 10.0.19044 Modes: Sandboxed: No Remote OS version: Linux x64 5.15.0-27-generic
System Info
Item | Value |
---|---|
CPUs | AMD Ryzen 7 1700 Eight-Core Processor (16 x 2994) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off 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_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | undefined |
Memory (System) | 63.95GB (26.81GB free) |
Process Argv | –crash-reporter-id 1e9604e4-dc28-4e69-b0ed-335830710f8b |
Screen Reader | no |
VM | 0% |
Item | Value |
---|---|
Remote | SSH: mars.justind.dev |
OS | Linux x64 5.15.0-27-generic |
CPUs | AMD Ryzen 7 1700 Eight-Core Processor (12 x 2994) |
Memory (System) | 12.14GB (9.35GB free) |
VM | 0% |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
vsccc:30610678
pyindex848cf:30577861
nodejswelcome1cf:30587006
fc301958:30595537
282f8724:30602487
gswce1:30612156
3d0df643:30613357
dbltrim-noruby:30604474
f6dab269:30613381
Issue Analytics
- State:
- Created 10 months ago
- Reactions:4
- Comments:5 (1 by maintainers)
Top Results From Across the Web
"PyInt_FromLong not found." message when debugging 3.11 ...
I'm using Pyenv and Poetry to manage my Python environments. ... I get a bunch of PyInt_FromLong not found. messages in the terminal....
Read more >CS50 | How do I study the code of python libraries like pandas ...
How do I study the code of python libraries like pandas, numpy, ... With Python 3.11.0, PyInt_FromLong not found is spammed in terminal...
Read more >Changelog — Python 3.11.1 documentation
gh-96559: Fixes the Windows launcher not using the compatible interpretation of default tags found in configuration files when no tag was passed to...
Read more >When should you upgrade to Python 3.11?
1. Missing binary packages · For the 3.9 release, it did not have wheels available until a while after the release. · For...
Read more >Python 3.11 Preview: Even Better Error Messages
Currently, the latest version of Python 3.11 is 3.11.0 alpha 5, ... Correctly, the error message points out that you're missing the last ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi there! Thanks for the bug report, and I’m sorry for this frustration. We’re coordinating with the debugpy team to release the update, but given most folks are based in the US, this will likely be out after the holidays.
The issue still exist, the next holidays are coming up. And Python 3.12 will be released in 10 months…