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 3441f91 commit 6377db3Copy full SHA for 6377db3
virtualenvwrapper.sh
@@ -609,7 +609,7 @@ function virtualenvwrapper_get_python_version {
609
610
# Prints the path to the site-packages directory for the current environment.
611
function virtualenvwrapper_get_site_packages_dir {
612
- "$VIRTUAL_ENV/bin/python" -c "import distutils; print(distutils.sysconfig.get_python_lib())"
+ "$VIRTUAL_ENV/$VIRTUALENVWRAPPER_ENV_BIN_DIR/python" -c "import distutils; print(distutils.sysconfig.get_python_lib())"
613
}
614
615
# Path management for packages outside of the virtual env.
0 commit comments