pip --user parameters

 

--User using parameters, i.e.,

pip install --user package_name

This will install the package Python $ HOME / .local of the path, wherein the folder comprises three words: bin , lib and Share .

 

 Then modify the .bash_profile file makes $ HOME / .local bin / directory procedures added to the environment variable

export PATH=$HOME/.local/bin:$PATH

Reference link: http: //blog.sciencenet.cn/blog-656335-1038255.html

Guess you like

Origin www.cnblogs.com/i-shu/p/11487612.html
pip