05-Mac开发环境配置

2022年1月1日

Node.js 环境安装

安装 Python3

1、官网下载安装包,安装 Python。

安装Python - 廖雪峰的官方网站

2、执行如下命令,安装 pip:

# 下载脚本
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
# 运行安装脚本
sudo python3 get-pip.py

3、执行如下命令,安装 Powerline:

pip3 install powerline-status

# Find the location
pip3 show powerline-status

上方的第一个命令,如果提示curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to bootstrap.pypa.io:443,则解决办法是:浏览器打开 https://bootstrap.pypa.io/get-pip.py,将文件复制下载到本地,然后执行本地的脚本文件。

参考链接:

item2 终端安装

要先安装 python 环境,才能安装 Powerline。

参考链接:

本文标题: 05-Mac开发环境配置

本文作者:

发布时间: 2022年1月1日

版权声明: 本文采用 CC BY-NC-SA 4.0 许可协议。转载请注明出处。

相关文章

评论