spack / spack-bootstrap-installer

Code to generate installers for Spack and any required dependencies (ie python)
Apache License 2.0
1 stars 0 forks source link

Installer python goes into users appdata directory and there are warnings on install #2

Open billhoffman opened 3 years ago

billhoffman commented 3 years ago

When you first run the spack command you get this warning:

WARNING: The scripts pip.exe, pip3.9.exe and pip3.exe are installed in 'C:\Users\hoffman\AppData\Roaming\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: You are using pip version 20.2.3; however, version 20.3.3 is available. You should consider upgrading via the 'C:\Program Files\Spack 0.16.0\Python-3.9.0\python.exe -m pip install --upgrade pip' command.

Couple of issues... We should not have a warning on first time run. pip does seem to get installed into that directory. If there was already a matching python in that directory I could see trouble coming from this.