Homebrew: Could not symlink, /usr/local/bin is not writable [closed]

The other answers are correct, as far as they go, but they don’t answer why this issue might be occurring, and how to address that root cause. Cause There are two possible causes to this issue: The homebrew installation was performed with a user other than the one you are currently using. Homebrew expects that only the …

conda使用简介

〇、序 Python是一种面向对象的解释型计算机程序设计语言,其使用,具有跨平台的特点,可以在Linux、macOS以及Windows系统中搭建环境并使用,其编写的代码在不同平台上运行时,几乎不需要做较大的改动,使用者无不受益于它的便捷性。 此外,Python的强大之处在于它的应用领域范围之广,遍及人工智能、科学计算、Web开发、系统运维、大数据及云计算、金融、游戏开发等。实现其强大功能的前提,就是Python具有数量庞大且功能相对完善的标准库和第三方库。通过对库的引用,能够实现对不同领域业务的开发。然而,正是由于库的数量庞大,对于管理这些库以及对库作及时的维护成为既重要但复杂度又高的事情。 一、什么是Anaconda? 1. 简介 Anaconda(官方网站)就是可以便捷获取包且对包能够进行管理,同时对环境可以统一管理的发行版本。Anaconda包含了conda、Python在内的超过180个科学包及其依赖项。 2. 特点 Anaconda具有如下特点: ▪ 开源 ▪ 安装过程简单 ▪ 高性能使用Python和R语言 ▪ 免费的社区支持 其特点的实现主要基于Anaconda拥有的: ▪ conda包 ▪ 环境管理器 ▪ 1,000+开源库 如果日常工作或学习并不必要使用1,000多个库,那么可以考虑安装Miniconda(下载界面请戳),这里不过多介绍Miniconda的安装及使用。 3. Anaconda、conda、pip、virtualenv的区别 ① Anaconda Anaconda是一个包含180+的科学包及其依赖项的发行版本。其包含的科学包包括:conda, numpy, scipy, ipython notebook等。 ② conda conda是包及其依赖项和环境的管理工具。 ▪ 适用语言:Python, R, Ruby, Lua, Scala, Java, JavaScript, C/C++, FORTRAN。 ▪ 适用平台:Windows, macOS, Linux ▪ 用途: ① …

The bottle needs the Xcode CLT to be installed.

xcode-select –install Warning: Building gcc from source:   The bottle needs the Xcode CLT to be installed. ==> Downloading https://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz Already downloaded: /Users/Tab/Library/Caches/Homebrew/downloads/d826388c1d62d3837abf5966bfcb52111c0fea536be81417ab4718ba089422f1–gcc-9.2.0.tar.xz ^C^CError: An exception occurred within a child process:   Errno::ENOTEMPTY: Directory not empty @ dir_s_rmdir – /private/tmp/d20191230-8175-x8pgbk Tab@MacAir include %  Tab@MacAir include %  Tab@MacAir include % brew doctor Your system is ready …

conda link to zsh

If anaconda is fully updated, a simple “conda init zsh” should work. Navigate into the anaconda3 folder using cd ~/miniconda3/ of course replacing “/path/to/anaconda/” with “~/anaconda3” or “/anaconda3” or wherever the “anaconda3” folder is kept. To make sure it’s updated, run ./bin/conda update –prefix . anaconda After this, running ./bin/conda init zsh