Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f4501c commit 94240ceCopy full SHA for 94240ce
1 file changed
IPython/core/interactiveshell.py
@@ -925,7 +925,7 @@ def init_virtualenv(self):
925
# In Cygwin paths like "c:\..." and '\cygdrive\c\...' are possible
926
if str(p_venv).startswith("\\cygdrive"):
927
p_venv = "C:" / Path(str(p_venv)[11:])
928
-
+
929
if any(p_venv == p.parents[1] for p in paths):
930
# Our exe is inside or has access to the virtualenv, don't need to do anything.
931
return
0 commit comments