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

p_venv.parts[1] - IndexError: tuple index out of range in WSL #13771

Open
Aidan-Kehoe opened this issue Oct 3, 2022 · 0 comments
Open

p_venv.parts[1] - IndexError: tuple index out of range in WSL #13771

Aidan-Kehoe opened this issue Oct 3, 2022 · 0 comments

Comments

@Aidan-Kehoe
Copy link

Aidan-Kehoe commented Oct 3, 2022

In WSL, I have just installed ipython version 8.5.0 in a virtualenv. I am getting the following error when running from terminal:

Traceback:
File "/home/aidan/.local/lib/python3.8/site-packages/IPython/terminal/interactiveshell.py", line 651, in __init__ super(TerminalInteractiveShell, self).__init__(*args, **kwargs) File "/home/aidan/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 544, in __init__ self.init_virtualenv() File "/home/aidan/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 831, in init_virtualenv if p_venv.parts[1] == "cygdrive": IndexError: tuple index out of range

I do not have this error running ipython in a virtualenv from command prompt - just WSL.

I know there was a similar issue submitted, but this one is specific to WSL so I thought it merited it's own issue.

@Aidan-Kehoe Aidan-Kehoe changed the title p_venv.parts[1] - IndexError: tuple index out of range p_venv.parts[1] - IndexError: tuple index out of range in WSL Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant