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
On FreeBSD its common for /home/{name} to be symlinked to /usr/home/{name}. Without this adjustment, the paths never match the target path provided in args. The following code in list_everything, found in pipsi.py (python 2), fixes the issue.
def _find_venv(target): # Fix for base_prefix being a symlink to the real directory. # (eg: /home/<name>/ -> /usr/home/<name>/) for venv in venvs: base_prefix = join(self.home, venv, "") real_prefix = os.path.realpath(base_prefix) if target.startswith(real_prefix): return venv
The text was updated successfully, but these errors were encountered:
On FreeBSD its common for /home/{name} to be symlinked to /usr/home/{name}. Without this adjustment, the paths never match the target path provided in args. The following code in list_everything, found in pipsi.py (python 2), fixes the issue.
def _find_venv(target): # Fix for base_prefix being a symlink to the real directory. # (eg: /home/<name>/ -> /usr/home/<name>/) for venv in venvs: base_prefix = join(self.home, venv, "") real_prefix = os.path.realpath(base_prefix) if target.startswith(real_prefix): return venv
The text was updated successfully, but these errors were encountered: