You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: