conda run update bug: printed reuslts are automaticly cleared
See original GitHub issueWe have written the needed data into your clipboard because it was too large to send. Issue Type: Bug
Behaviour
Expected vs. Actual
Expected: print results in the terminal. Actual: The result was printed. And immediately the result was cleared. I cannot see my result.
Steps to reproduce:
Just a empty .py with print(1) could reproduce.
I’m not sure whether it is related to the recent update about conda run. Similar issue was also reported by the https://github.com/Microsoft/vscode-python/issues/18479#issuecomment-1059692675.
Everything run smoothly before “conda run” update.
Diagnostic data
- Python version (& distribution if applicable, e.g. Anaconda): 3.9.7
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
- Value of the
python.languageServer
setting: Default
User Settings
defaultLS: {"defaultLSType":"Pylance"}
downloadLanguageServer: true
envFile: "<placeholder>"
venvPath: "<placeholder>"
venvFolders: "<placeholder>"
condaPath: "<placeholder>"
pipenvPath: "<placeholder>"
poetryPath: "<placeholder>"
languageServer: "Pylance"
linting
• enabled: true
• cwd: "<placeholder>"
• Flake8Args: "<placeholder>"
• flake8Enabled: false
• flake8Path: "<placeholder>"
• lintOnSave: true
• banditArgs: "<placeholder>"
• banditEnabled: false
• banditPath: "<placeholder>"
• mypyArgs: "<placeholder>"
• mypyEnabled: false
• mypyPath: "<placeholder>"
• pycodestyleArgs: "<placeholder>"
• pycodestyleEnabled: false
• pycodestylePath: "<placeholder>"
• prospectorArgs: "<placeholder>"
• prospectorEnabled: false
• prospectorPath: "<placeholder>"
• pydocstyleArgs: "<placeholder>"
• pydocstyleEnabled: false
• pydocstylePath: "<placeholder>"
• pylamaArgs: "<placeholder>"
• pylamaEnabled: false
• pylamaPath: "<placeholder>"
• pylintArgs: "<placeholder>"
• pylintPath: "<placeholder>"
sortImports
• args: "<placeholder>"
• path: "<placeholder>"
formatting
• autopep8Args: "<placeholder>"
• autopep8Path: "<placeholder>"
• provider: "autopep8"
• blackArgs: "<placeholder>"
• blackPath: "<placeholder>"
• yapfArgs: "<placeholder>"
• yapfPath: "<placeholder>"
testing
• cwd: "<placeholder>"
• debugPort: 3000
• nosetestArgs: "<placeholder>"
• nosetestsEnabled: undefined
• nosetestPath: "<placeholder>"
• promptToConfigure: true
• pytestArgs: "<placeholder>"
• pytestEnabled: false
• pytestPath: "<placeholder>"
• unittestArgs: "<placeholder>"
• unittestEnabled: false
• autoTestDiscoverOnSaveEnabled: true
terminal
• activateEnvironment: true
• executeInFileDir: "<placeholder>"
• launchArgs: "<placeholder>"
experiments
• enabled: true
• optInto: []
• optOutFrom: []
insidersChannel: "off"
tensorBoard
• logDirectory: "<placeholder>"
VS Code version: Code 1.65.0 (b5205cc8eb4fbaa726835538cd82372cc0222d43, 2022-03-02T11:12:08.962Z) OS version: Windows_NT x64 10.0.19044 Restricted Mode: No
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-9750H CPU @ 2.60GHz (12 x 2592) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 7.92GB (1.55GB free) |
Process Argv | D:\2022春课程\机器学习 --crash-reporter-id fe8f7a32-be1f-46f8-8764-c4d29a6b2ab6 |
Screen Reader | no |
VM | 40% |
Extensions (14)
Extension | Author (truncated) | Version |
---|---|---|
bracket-pair-colorizer | Coe | 1.0.62 |
bracket-pair-colorizer-2 | Coe | 0.2.2 |
matlab | Gim | 2.3.1 |
gc-excelviewer | Gra | 4.0.50 |
python | ms- | 2022.3.10631003 |
vscode-pylance | ms- | 2022.3.0 |
jupyter | ms- | 2022.2.1020642448 |
jupyter-keymap | ms- | 1.0.0 |
jupyter-renderers | ms- | 1.0.6 |
remote-ssh | ms- | 0.76.1 |
remote-ssh-edit | ms- | 0.76.1 |
remote-wsl | ms- | 0.64.2 |
markdown-preview-enhanced | shd | 0.6.2 |
markdown-all-in-one | yzh | 3.4.0 |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstartedc:30433508
vsclayoutctrt:30448491
vsrem710:30416614
dsvsc009:30440023
pythonvsnew555cf:30442237
vsbas813:30436447
vscscmwlcmt:30438805
vscgsvid1:30447480
helix:30440343
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8
Top Results From Across the Web
Troubleshooting - Anaconda Documentation
If you are having problems launching Anaconda Navigator, follow these steps. ... Run Update Index from the Environments page of Navigator.
Read more >What is the right way to update Anaconda and Conda base ...
When I run command conda update anaconda , it updates/downgrades alot of packages. Then I ran conda update conda , which again updates/downgrades...
Read more >Troubleshooting — conda 22.11.1.post16+ce4e810c9 ...
You may observe this error cropping up after a conda update. More recent versions of conda and more recent builds of Python are...
Read more >Managing environments - Conda
With conda, you can create, export, list, remove, and update environments that have different versions of Python and/or packages installed in them.
Read more >Release notes — conda 22.11.1.post16+ce4e810c9 ...
Update canary-release version to resolve canary build issue. ... Add and automatically run pre-commit as part of the CI system to improve the...
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 FreeTop 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
Top GitHub Comments
Extensions --> Python, right click, Install Another Version, and select the older version~~~
The same problem. Using “conda run” is a confusing updating…