gitdb could not be found in PYTHONPATH

3,184 views
Skip to first unread message

ma...@tobiasknuth.de

unread,
Mar 1, 2014, 3:57:13 PM3/1/14
to sku...@googlegroups.com
Hello everyone,

I'd like to contribute a library (Pandas) in order to create interactive tutorials about data analysis.

I created a fresh virtual machine (Ubuntu 12 LTS), installed python2.6, installed easy_install and pip.

GitPython did not work, as gitdb was missing. So I installed gitdb. Then GitPython.

Unfortunately,

"import git" yields "Error: gitdb could not be found in your PYTHONPATH"

And ./m dist says: "GitPython not installed", which is probably due to the erroneous git import.

Have you an idea what the problem is?

Brad

unread,
Mar 1, 2014, 5:11:01 PM3/1/14
to sku...@googlegroups.com
I'm assuming that Python2.7 is probably the default python on Ubuntu 12 LTS. So, depending on how careful you were, when you installed pip / easy_install it would be very easy for you to have installed gitdb for python 2.7 rather than 2.6. The packages go to completely different folders. Brad

ma...@tobiasknuth.de

unread,
Mar 2, 2014, 4:24:28 AM3/2/14
to sku...@googlegroups.com
Hi Brad,

thank you for your feedback. I figured out the reason. Some dependencies were not loaded. Gitdb's import failed silently and just printed that it could not be found.

The async package also missed. After I had installed everything properly, it finally worked. Anyone else having this problem can have a look at my scripts that I wrote for installation: https://github.com/tknuth/shell_scripts/tree/master/skulpt.

I'm now ready to work on the library :-)

Best wishes,
Tobias
Reply all
Reply to author
Forward
0 new messages