Closed dacoex closed 7 years ago
More details:
C:\Users\%USER%\Documents\>conda install git
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata .........
Solving package specifications: ..........
# All requested packages already installed.
# packages in environment at C:\Users\%USER%\AppData\Local\Continuum\Anaconda3:
#
git 2.6.4 0
(C:\Users\%USER%\AppData\Local\Continuum\Anaconda3) C:\Users\%USER%\Documents\>python C:\Users\%USER%\AppData\Local\Continuum\Anaconda3\Scripts\smt init smt_test
Error: No version control systems found. Please see the documentation for information on installing the required packages.
(C:\Users\%USER%\AppData\Local\Continuum\Anaconda3)
The problem you seem to have is the following: when you want to use Git in Sumatra, you will need to have Git installed, but you also will need to have a Python library called GitPython installed. To me it seems you have installed Git (using conda), but not GitPython. You can install GitPython using conda from the conda-forge
channel:
conda install -c conda-forge gitpython
This should solve the error you are seeing. It still doesn't mean that Sumatra will work for you. To my knowledge, Windows is not officially supported.
For some reason, sumatra does not recognise gitpython:
(C:\Users\%USER%\AppData\Local\Continuum\Anaconda3) C:\Users\%USER%\Documents\sumatra_trials>conda install -c conda-forge gitpython
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata ...........
Solving package specifications: ..........
# All requested packages already installed.
# packages in environment at C:\Users\%USER%\AppData\Local\Continuum\Anaconda3:
#
gitpython 1.0.1 py35_0 conda-forge
(C:\Users\%USER%\AppData\Local\Continuum\Anaconda3) C:\Users\%USER%\Documents\sumatra_trials>python C:\Users\%USER%\AppData\Local\Continuum\Anaconda3\Scripts\smt init smt_test
Error: No working copy found at C:\Users\%USER%\Documents\sumatra_trials.
Tried: Git
No Python bindings available: Mercurial, Subversion, Bazaar
You may need to install Python bindings for your version control system
- see http://sumatra.readthedocs.org/en/latest/installation.html#installing-python-bindings-for-your-version-control-system
(C:\Users\%USER%\AppData\Local\Continuum\Anaconda3) C:\Users\%USER%\Documents\sumatra_trials>
Any idea why this package is not cross-platform?
Are you sure C:\Users\%USER%\Documents\sumatra_trials
is a git repository?
I have the impression that this problem is solved. Please comment if it is not, and I will reopen this ticket.
Is there a possibility to install this package in anaconda on a windows machine?
The documentation does not mention conda and windows.