Show More
@@ -716,7 +716,9 b' class InteractiveShell(SingletonConfigurable):' | |||
|
716 | 716 | # Not in a virtualenv |
|
717 | 717 | return |
|
718 | 718 | |
|
719 |
if sys.executable.startswith( |
|
|
719 | if os.path.realpath(sys.executable).startswith( | |
|
720 | os.path.realpath(os.environ['VIRTUAL_ENV']) | |
|
721 | ): | |
|
720 | 722 | # Running properly in the virtualenv, don't need to do anything |
|
721 | 723 | return |
|
722 | 724 |
General Comments 0
You need to be logged in to leave comments.
Login now