cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

No module named git when installing YDK

Koushal
Cisco Employee
Cisco Employee

Hi Team

I was trying to install YDK in my server and tried the below things. But ended up with the error saying no module named git.

https://wiki.cisco.com/display/PYATS/YDK#YDK-UsingYDK-Gen

Requesting you to help me on this.

1. GIT Clone.

git clone https://github.com/CiscoDevNet/ydk-gen

Cloning into 'ydk-gen'...

remote: Counting objects: 15661, done.

remote: Compressing objects: 100% (77/77), done.

remote: Total 15661 (delta 84), reused 97 (delta 65), pack-reused 15519

Receiving objects: 100% (15661/15661), 6.47 MiB | 9.80 MiB/s, done.

Resolving deltas: 100% (11027/11027), done.

Checking out files: 100% (976/976), done.

2.

./generate.py --core

Traceback (most recent call last):

  File "./generate.py", line 34, in <module>

    from git import Repo

ImportError: No module named 'git'

Thanks,

Who Me Too'd this topic