以安装jieba库为例
调出终端terminal->输入代码sudu python3 -m pip jieba->等待下载即可
➜ ~ sudo python3 -m pip install jieba
Password:
WARNING: The directory '/Users/apple/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting jieba
Downloading jieba-0.42.1.tar.gz (19.2 MB)
|████████████████████████████████| 19.2 MB 182 kB/s
Building wheels for collected packages: jieba
Building wheel for jieba

本文介绍了如何在Mac电脑上使用Python3安装第三方库,以jieba库作为具体操作示例,详细讲解了安装过程。
6210

被折叠的 条评论
为什么被折叠?



