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

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.
主站蜘蛛池模板: 忻城县| 寻乌县| 樟树市| 麟游县| 皮山县| 凉山| 莫力| 都兰县| 长宁县| 抚顺县| 台南县| 江北区| 阿鲁科尔沁旗| 翁源县| 门头沟区| 明溪县| 博乐市| 无极县| 方正县| 滁州市| 丰顺县| 澄江县| 彝良县| 雷波县| 慈溪市| 闸北区| 涿州市| 泗洪县| 南开区| 香格里拉县| 彭山县| 偃师市| 永安市| 安龙县| 霍州市| 铜陵市| 邹城市| 健康| 稷山县| 大城县| 北安市|