Can't download Android source code

Hi,

I got the problems in downloading the source code.
I followed the steps in https://docs.khadas.com/vim3/DownloadAndroidSourceCode.html
sudo ./install.sh -> failed permission denied
git lfs install -> failed
I need to do “git init” then I could pass “sudo ./install.sh”

repo init -u https://github.com/khadas/android_manifest.git -b khadas-vims-pie
/log start/
repo init -u https://github.com/khadas/android_manifest.git -b khadas-vims-pie
Traceback (most recent call last):
File “/home/vatics/Desktop/git_lfs/git-lfs-2.3.4/VIM3_Android/.repo/repo/main.py”, line 49, in
import event_log
File “/home/vatics/Desktop/git_lfs/git-lfs-2.3.4/VIM3_Android/.repo/repo/event_log.py”, line 167, in
_EVENT_ID = multiprocessing.Value(‘i’, 1)
File “/snap/git-repo/18/usr/lib/python2.7/multiprocessing/init.py”, line 253, in Value
return Value(typecode_or_type, *args, **kwds)
File “/snap/git-repo/18/usr/lib/python2.7/multiprocessing/sharedctypes.py”, line 108, in Value
lock = RLock()
File “/snap/git-repo/18/usr/lib/python2.7/multiprocessing/init.py”, line 183, in RLock
return RLock()
File “/snap/git-repo/18/usr/lib/python2.7/multiprocessing/synchronize.py”, line 172, in init
SemLock.init(self, RECURSIVE_MUTEX, 1, 1)
File “/snap/git-repo/18/usr/lib/python2.7/multiprocessing/synchronize.py”, line 75, in init
sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied
/log end/

@ru719iz283 @Terry @goenjoy @jasonl Please help with this .

Here’s the reason why you can’t download it.
see:

ls -l /snap/git-repo/18/usr/lib/python2.7
hlm@Server:/users/hlm$ ls -ld /usr/local/lib/python2.7
drwxrwsr-x 4 root staff 4096 Jul 24 06:02 /usr/local/lib/python2.7