Skip to content

Conversation

@Flamefire
Copy link
Contributor

Some packages install scripts, and then show a warning like:

WARNING: The script markdown_py is installed in '/tmp/install/software/TensorFlow/2.4.0-fosscuda-2019b-Python-3.7.4/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

This can be problematic for PythonBundle when a later package requires a binary installed by a prior package
which would then not be found.

Some packages install scripts, and then show a warning like:

  WARNING: The script markdown_py is installed in '/tmp/install/software/TensorFlow/2.4.0-fosscuda-2019b-Python-3.7.4/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

This can be problematic for PythonBundle when a later package requires a binary installed by a prior package
which would then not be found.
Copy link
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akesandgren
Copy link
Contributor

Going in, thanks @Flamefire!

@akesandgren akesandgren merged commit 6013b40 into easybuilders:develop Nov 23, 2020
@Flamefire Flamefire deleted the add_path_to_python branch November 23, 2020 11:46
@boegel boegel changed the title Also add bin subdir to PATH when installing a python package Also add 'bin' subdir to $PATH when installing a Python package Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants