文档 https://github.com/pipxproject/pipx
Install and Run Python Applications in Isolated Environments
在隔离环境中安装并且运行Python应用
安装
$ brew install pipx $ pipx ensurepath $ vim ~/.bash_profile export PATH=/Users/hina/.local/bin:$PATH $ source ~/.bash_profile $ pipx ensurepath
使用示例
$ pipx install pycowsay
$ pipx install --python python3.6 pycowsay$ pipx list
$ pycowsay hi
--
< hi >
--
\ ^__^
\ (oo)\___
(__)\ )/\
||----w |
|| ||
</div>