官术网_书友最值得收藏!

How to do it...

  1. You can directly download the installation file for Anaconda on your machine as follows (adjust your Anaconda file accordingly):
curl -O https://repo.continuum.io/archive/Anaconda3-4.3.1-Linux-x86_64.sh
  1. Next, run the bash script (if necessary, adjust the filename accordingly):
bash Anaconda3-4.3.1-Linux-x86_64.sh

Follow all prompts and choose 'yes' when you're asked to to add the PATH to the .bashrc file (the default is 'no').

  1. Afterwards, reload the file:
source ~/.bashrc
  1. Now, let's set up an Anaconda environment. Let's start with copying the files from the GitHub repository and opening the directory:
git clone https://github.com/indradenbakker/Python-Deep-Learning-Cookbook-Kit.git
cd Python-Deep-Learning-Cookbook-Kit
  1. Create the environment with the following command:
conda env create -f environment-deep-learning-cookbook.yml
  1. This creates an environment named environment-deep-learning-cookbook and installs all libraries and dependencies included in the .yml file. All libraries used in this book are included, for example, NumPy, OpenCV, Jupyter, and scikit-learn. 
  2. Activate the environment:
source activate environment-deep-learning-cookbook
  1. You're now ready to run Python. Follow the next recipe to install Jupyter and the deep learning frameworks used in this book.
主站蜘蛛池模板: 安乡县| 古田县| 仁寿县| 乌兰县| 富蕴县| 留坝县| 承德市| 肇庆市| 禄丰县| 河曲县| 蓝山县| 右玉县| 永城市| 瑞金市| 黄山市| 镇巴县| 闻喜县| 浑源县| 大宁县| 江安县| 基隆市| 辽阳县| 镇江市| 尤溪县| 卫辉市| 塘沽区| 陆良县| 高要市| 敦化市| 德清县| 淮北市| 淮安市| 闻喜县| 独山县| 道真| 新沂市| 克什克腾旗| 漯河市| 建昌县| 尚义县| 忻城县|