facebookresearch / hydra

Hydra is a framework for elegantly configuring complex applications
https://hydra.cc
MIT License
8.67k stars 624 forks source link

[Bug] ipykernel_launcher.py: error: #2894

Open 8513421 opened 5 months ago

8513421 commented 5 months ago

🐛 Bug

Description

When use VC Code + ipykernel console (jupyter) I get error: ArgumentError: argument --shell-completion/-sc: ignored explicit argument '9002' and
_AttributeError: 'tuple' object has no attribute 'tbframe'

To reproduce

Install Jupyter in VSCode. Right mouse click. Choose: run in interactive window.

Jasha10 commented 4 months ago

I see that --shell-completion/-sc appears in your error message. I think this may be related to the issue you're seeing.

8513421 commented 4 months ago

I see that --shell-completion/-sc appears in your error message. I think this may be related to the issue you're seeing.

Ok, but what next?

Jasha10 commented 4 months ago

I would try to figure out where the --shell-completion command line argument is being passed. Perhaps somewhere in the VC Code or the ipykernel settings?