-
brew update --debug --verbose
- brew install wget
-
xcode-select --install
- None of the above line
Error: No such file or directory @ dir_chdir - /usr/local/Cellar
Ruby -e " $ ( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall )"
/ usr / bin / Ruby -e " $ ( curl -fsSL HTTPS: // raw.githubusercontent.com/Homebrew/install/master/install ) "
in this way, in the latestHomeBrew
, the time will be needed to install the directory have been created and the required permissions are assigned, then usebrew
to install other software when you can not needsudo
permission to direct the -
Replace core depot
cd "$ (BREW --repo) / Library / Taps / homebrew / homebrew-Core"
git Remote the SET-url Origin https://mirrors.ustc.edu.cn/homebrew-core.git
replace cask depot (provided macOS applications and large binary files)CD "$ (BREW --repo)" / Library / Taps / caskroom / Cask the homebrew-
Git Remote SET-URL Origin https://mirrors.ustc.edu.cn/homebrew-cask.git
Alternatively Bottles source (precompiled the Homebrew binary packages)bash (the default shell) users:
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile
source ~/.bash_profile - brew install wget
- https://docs.conda.io/en/latest/miniconda.html find the right version; cd ~
-
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
- bash Miniconda3-latest-MacOSX-x86_64.sh
Miniconda3 will now be installed into this location: -
/ Users / jingyuli / miniconda3.
- Manual loading environment variables that take effect conda. Source ~ / .bash_profile
- conda -h. Inspection successful installation
Next theano
- conda create -n Theano python = 3.5
- conda-env list
- source activate theano
Install requirements and optional packages
- conda install numpy scipy mkl nose sphinx
- pip install parameterized
Install and configure the GPU drivers (recommended) CUDA安装
macbookpro no NVIDIA card does not support gpu