diff options
author | Adam Spiers <git@adamspiers.org> | 2018-05-23 08:25:45 -0700 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2018-05-23 08:25:45 -0700 |
commit | 39f6c72a63f570615db300ee4b0f334342592c59 (patch) | |
tree | 20df12c1f65ea4c6ad2149fd94a5760dfb859a7d /INSTALL.md | |
parent | 1d623dba4fffd6de02ad56c74edfa2ac96efbe76 (diff) | |
download | git-deps-39f6c72a63f570615db300ee4b0f334342592c59.tar.gz |
solve problem of pip installing wrong pygit2 version
Use workaround from @paulwellnerbou as per
https://github.com/paulwellnerbou/git-deps-docker/issues/2#issuecomment-391388657
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -53,7 +53,11 @@ This should also automatically install pygit2 as one of its dependencies. However be aware that this will pick a pygit2 version based on [`requirements.txt`](requirements.txt) from `git-deps`, which may not be compatible with the libgit2 you have installed from OS -packages. Suggestions for workaround to this are welcome! +packages. This can be fixed by telling `pip install` which version of +pygit2 you want. For example if you have installed libgit2 +0.24.0, you could do: + + pip install pygit2==0.24 git-deps ## Option 3: Install everything from source |