Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compat.py is missing and breaks "import git" #58

Closed
kdenney-rp opened this issue Feb 18, 2020 · 1 comment
Closed

compat.py is missing and breaks "import git" #58

kdenney-rp opened this issue Feb 18, 2020 · 1 comment

Comments

@kdenney-rp
Copy link

kdenney-rp commented Feb 18, 2020

Dowloaded latest version 3.0.2
compat.py no longer exists.

Traceback:
File "/Users/username/test.py", line 1, in
import git
File "/Users/username/anaconda3/envs/myenv/lib/python3.7/site-packages/git/init.py", line 38, in
from git.exc import * # @nomove @IgnorePep8
File "/Users/username/anaconda3/envs/myenv/lib/python3.7/site-packages/git/exc.py", line 9, in
from git.compat import UnicodeMixin, safe_decode, string_types
File "/Users/username/anaconda3/envs/myenv/lib/python3.7/site-packages/git/compat.py", line 16, in
from gitdb.utils.compat import (
ModuleNotFoundError: No module named 'gitdb.utils.compat'

@Harmon758
Copy link
Member

Duplicate of gitpython-developers/GitPython#983

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants