Show More
@@ -737,7 +737,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
737 |
|
737 | |||
738 | # executable path should end like /bin/python or \\scripts\\python.exe |
|
738 | # executable path should end like /bin/python or \\scripts\\python.exe | |
739 | p_exe_up2 = os.path.dirname(os.path.dirname(p)) |
|
739 | p_exe_up2 = os.path.dirname(os.path.dirname(p)) | |
740 | if p_exe_up2 and os.path.samefile(p_exe_up2, p_venv): |
|
740 | if p_exe_up2 and os.path.exists(p_venv) and os.path.samefile(p_exe_up2, p_venv): | |
741 | # Our exe is inside the virtualenv, don't need to do anything. |
|
741 | # Our exe is inside the virtualenv, don't need to do anything. | |
742 | return |
|
742 | return | |
743 |
|
743 |
General Comments 0
You need to be logged in to leave comments.
Login now