Closed m-d-grunnill closed 1 month ago
Interesting, looks like your system doen't have Git avalable on the command line (which rather messes up the ability to determine the version of the package from Git).
Doing
conda install git
in either the root environment or the environment you are using before attempting install should solve this. If you don't want to install git then this may be harder to solve.
I'll have a think as using SMC was supposed to avoid the need to explicitly change the version number in files as well as in the version control system (DRY). There may be an easy fix for this (including a different way to read the visrson from git) but equally may also be a bit of a nightmare.
Would not listing git as a required package solve this, then?
Not really as Git is a separate program not a python package. I'm hoping that the updated build / install from wheels largely resolves this.
I have tried to install making sure all the required package are in place. I get the following error when
python setup.py install
in conda:When I changed the line 82 of the setup.py from
use_scm_version=True,
toversion=0.17,
, the installation worked.