Skip to content

Commit e568adc

Browse files
author
Wolfgang Maier
committed
consider root path when looking for installed versions
1 parent 69dd4ae commit e568adc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pip/commands/install.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ def run(self, options, args):
320320
possible_lib_locations = get_lib_location_guesses(
321321
user=options.use_user_site,
322322
home=temp_target_dir,
323+
root=options.root_path,
323324
prefix=options.prefix_path,
324325
isolated=options.isolated_mode,
325326
)

0 commit comments

Comments
 (0)