-
-
Notifications
You must be signed in to change notification settings - Fork 933
Example on tutorial doesn't work #107
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
Comments
I've just installed "GitPython 0.3.2.RC1" - got identical issue "NameError: name 'Repo' is not defined". from git import *
repo = Repo("./devtest")
|
I don't have this issue with gitpython, how did you install 0.3.2RC1? If it's pip can you print the output of
I've seen that when pip is installed via macports it won't install the release candidate. |
I cannot reproduce this one, and believe that you might have accidentally installed an old version. However, the latest version was now updated to 0.3.2 on pypi ,which installs correctly. |
Hi, guys, I have installed gitpython on Anaconda using conda, it's been installed properly. Still, I am getting the following error: |
I got this error to, sth related: text version: D:\hick\python>python git-.py D:\hick\python>pip show GitPython D:\hick\python>cat git-.py repo = git.Repo(r'D:\hick') print(repo.bare) D:\hick\python>python -V |
before using GitPython make sure you have a repository on path |
I tried the example given here: http://pythonhosted.org/GitPython/0.3.2/tutorial.html
When I did this:
This happened:
Traceback (most recent call last):
File "git.py", line 1, in
from git import *
File "/media/Work_Study/CS/workspace/Python/environments/autover2/git.py", line 2, in
repo = Repo("/Users/mtrier/Development/git-python")
NameError: name 'Repo' is not defined
The text was updated successfully, but these errors were encountered: