catrionamurray / chromatic_fitting

chromatic_fitting tool to perform multi-wavelength spectrophotometry built on top of chromatic
MIT License
10 stars 1 forks source link

Failed to download recent stable version #33

Open will-waalkes opened 1 year ago

will-waalkes commented 1 year ago

I tried to download this as: pip install git+https://github.com/catrionamurray/chromatic_fitting.git@v0

and got the following error. Looks like it could be an issue on my end but this pretty new laptop should have had all the proper bells and whistles installed by Karl H.

Collecting git+https://github.com/catrionamurray/chromatic_fitting.git@v0
  Cloning https://github.com/catrionamurray/chromatic_fitting.git (to revision v0) to /private/var/folders/vq/zxq380ws52q37mjjtbt9c7rh0000gp/T/pip-req-build-e74jom88
  error: subprocess-exited-with-error

  × git version did not run successfully.
  │ exit code: 1
  ╰─> [2 lines of output]
      xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git version did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
catrionamurray commented 1 year ago

weird! I just created a new environment with Python 3.9 and used pip install git+https://github.com/catrionamurray/chromatic_fitting.git@v0 and didn't have any issues... what version of pip and Python are you using and what type of computer do you have?

catrionamurray commented 1 year ago

On another note, that's a pretty old version of chromatic_fitting, I'd recommend actually installing the newest version on the main branch (pip install git+https://github.com/catrionamurray/chromatic_fitting). I haven't updated the "stable" release in a while.