mac安装python3
利用brew进行安装https://www.jianshu.com/p/8a2572fe60be
% /usr/bin/ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
检查
brew doctor
安装python3
brew search python3
brew install python3
查看python3目录
which python3
一般在/usr/bin/python3
(删除了不知道什么时候安装的不能用的python3.6)
cd /Library/Frameworks/Python.framework/Versions
rm -rf 3.6
查看pip3安装位置
pip3 -V
查看安装包位置的命令:pip/pip3 show ***** (*****代表安装库名称)
find . -name "jmeter" 或者 find / -name "jmeter"
说明: find命令用于查找文件,后面的“."代表当前目录,-name是find命令的参数,后面接要搜索的文件名
查看历史命令
history
history 1 #从第一条历史命令开始看
pycharm
preferences
project interpreter 右上角的设置打开变成add