OK, so I think the key issue here is in the first line where conda
doesn’t want to install python. My best guess here is that there is something incorrect about the double-quotes. Sometimes applications are very picky about double-quotes, where the character "
is very different from ”
and “
, and I think that’s messing up the package search.
So, if you copy-paste this line into your mac’s terminal application, I think this should work as expected:
conda create -n env-invest -c conda-forge "python=3.11" natcap.invest
Once that command runs correctly without an error message, then you should be able to activate the environment:
conda activate env-invest
And then once the environment is activated, you should be able to run invest
:
invest --help