尝试通过自制程序安装python时出错。brew说明了链接python失败的原因,下面是输出:
Linking /usr/local/Cellar/python/2.7.3... Warning: Could not link python. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/python/2.7.3/bin/smtpd2.py
/usr/local/bin/smtpd2.py may already exist.
/usr/local/bin may not be writable.
ls-la on/usr/bin和bin权限:
The drwxrwxrwx 26 root admin 884 26 Oct 16:03 bin
并且smtpd2.py存在。。我怎样才能修好它?删除smtpd2.py?
你试过
brew link --overwrite python
吗?这对我很有用,而不必卸载python—请参见this question了解更多详细信息。听起来像是/usr/local的权限问题。
相关问题 更多 >
编程相关推荐