Installation MacOS + miniconda + theano

  1. brew update --debug --verbose

  2. brew install wget
  3. xcode-select --install

  4. None of the above line

    Error: No such file or directory @ dir_chdir - /usr/local/Cellar

     

    Unloading heavy equipment homwbrew
    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 latest HomeBrew, the time will be needed to install the directory have been created and the required permissions are assigned, then use brewto install other software when you can not need sudopermission to direct the
  5. 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

  6. brew install wget

  7. https://docs.conda.io/en/latest/miniconda.html find the right version; cd ~
  8. wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh

  9. bash Miniconda3-latest-MacOSX-x86_64.sh

    Miniconda3 will now be installed into this location:
  10. / Users / jingyuli / miniconda3.

  11. Manual loading environment variables that take effect conda. Source ~ / .bash_profile
  12. 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

 

 

 





 

Guess you like

Origin www.cnblogs.com/pocahontas/p/11669001.html