Discuss / Python / Mac的小伙伴如果不知道怎么下看这里

Mac的小伙伴如果不知道怎么下看这里

Topic source

王新美男

#1 Created at ... [Delete] [Delete and Lock User]

首先打开终端: 输入 sudo easy_install pip OK后输入 sudo pip install Pillow 等待下载结束就OK了!

成功了!谢谢美男小伙伴!

哎,不行啊。每次安装什么东西就报错:unable to execute clang: No such file or directory

廖雪峰

#4 Created at ... [Delete] [Delete and Lock User]

先装xcode

王新美男

#5 Created at ... [Delete] [Delete and Lock User]

我不知道永不用先装Xcode,但是我的电脑上有Xcode

而且我这只要等待下载结束就OK了,我是10.10.5的系统

金融财迷

#6 Created at ... [Delete] [Delete and Lock User]

输入后电脑的反馈如下

Traceback (most recent call last):
  File "/usr/bin/easy_install-2.7", line 7, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

请问应该怎么办?

-292_

#7 Created at ... [Delete] [Delete and Lock User]

请问能解释一下这几串命令的意思吗?


  • 1

Reply