When I reproduced your paper,i meet the problem: running build running build_py copying alphapose/version.py -> build/lib.linux-x86_64-3.7/alphapose running build_ext running develop running egg_info error: [Errno 13] Permission denied
ydx980521 opened this issue · 4 comments
When I reproduced your paper, I followed the instructions of your Steps of Installing Activity2Vec and
executed this command line:
cd AlphaPose && python setup.py build develop && cd ..
and the following errors occurred:
running build
running build_py
copying alphapose/version.py -> build/lib.linux-x86_64-3.7/alphapose
running build_ext
running develop
running egg_info
error: [Errno 13] Permission denied
How to solve it?
Please check your folder permission.
Sorry.How to do it in detail?i am a beginner. add the sudo?
i try to add sudo and excute the command line:
sudo python setup.py build develop && cd ..
but the new error appear:
File "setup.py", line 90
[os.path.join(*module.split('.'), p) for p in sources],
SyntaxError: only named arguments may follow *expression
what does it mean? @DirtyHarryLYL
Hi @ydx980521 ,
Thanks for playing with Activity2Vec! The setup procedure of AlphaPose will produce a folder "build" under AlphaPose. The error information means that the folder cannot be successfully created.
Two reasons may cause this: one is the folder permission problem, which can be changed by the chmod command of Linux (you can search for the instructions of chmod in Google ;-) ); second is your disk doesn't have enough space, which can be checked with the df command of Linux.
In the normal situation, this information is unlikely to occur. Thus I believe the latter reason is more possible.