본문 바로가기
Linux

program install in user path without sudo command

by 공대우냉이 2016. 1. 11.

if you install program in user path(not admin), 


$ cd 'program install files path'

$ python setup develop --prefix=~/.local

and if you want to install at other path, adjust './local'. 

--prefix=~/'path'

that's path is in user $HOME. if --prefix=~/.local, .local folder is at $HOME/.local/.

 or

You may need to add sudo before the pip command to install into your system’s site-packages directory.

If you do not have administrator access to your machine, you can install Theano locally (to ~/.local) using

pip install Theano --user