Steps to reproduce
If you install a python package, the resulting files will be located in <prefix>/local instead of <prefix>. While this doesn't seem to be a problem for importing the module, it is a problem when the python package installs executables in bin. These executables end up in <prefix>/local/bin, which in not in PATH when loading the package or when in an environment that contains the package.
To reproduce, simply try installing a python package that has executables (e.g. py-flake8), then try to use said executable.
Error message
No response
Information on your system
- Spack: 0.19.0.dev0 (123354e)
- Python: 3.10.4
- Platform: linux-ubuntu22.04-sandybridge
- Concretizer: clingo
General information
Steps to reproduce
If you install a python package, the resulting files will be located in
<prefix>/localinstead of<prefix>. While this doesn't seem to be a problem for importing the module, it is a problem when the python package installs executables inbin. These executables end up in<prefix>/local/bin, which in not inPATHwhen loading the package or when in an environment that contains the package.To reproduce, simply try installing a python package that has executables (e.g.
py-flake8), then try to use said executable.Error message
No response
Information on your system
General information
spack debug reportand reported the version of Spack/Python/Platform