《2018年8月29日》【连续330天】
标题:Xcode9使用python3;
内容:
Mac上自带了python,导致使用的时候出现了混乱,使用 xcode的时候要注意路径:
参考:https://blog.csdn.net/u010828718/article/details/70257622
在终端上找了一下位置,已安装Xcode:
接着安装xcode command line tool:
在终端输入xode-select --install;
安装homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
安装完后检查:brew doctor
结果显示 not found..
查了一下:发现只要在添加一条路径即可:PATH=".;$PATH:/usr/local/bin"
修改变量参考:https://www.cnblogs.com/malcolmfeng/p/6902569.html
不过添加的时候,复制了别人的文本,里面居然有中文字符,。。终端处理命令都不能用了
参考:https://blog.csdn.net/a10241234/article/details/45173309
解决了;
easy_install pip :给系统的python安装pip
又失败了。。
解决参考:https://blog.csdn.net/u013957017/article/details/80818815
xcode 使用python3:https://blog.csdn.net/f_zyj/article/details/80426373
将python3的path填上即可;