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 b6d8423 commit 9a3eb24Copy full SHA for 9a3eb24
easybuild/scripts/findPythonDeps.py
@@ -184,4 +184,7 @@ def print_deps(package, verbose):
184
print('Virtualenv not found or executable. ' +
185
'Make sure it is installed (e.g. in the currently loaded Python module)!')
186
sys.exit(1)
187
+ if 'PIP_PREFIX' in os.environ:
188
+ print("$PIP_PREFIX is set. Unsetting it as it doesn't work well with virtualenv.")
189
+ del os.environ['PIP_PREFIX']
190
print_deps(args.package, args.verbose)
0 commit comments