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

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.
主站蜘蛛池模板: 梨树县| 定西市| 钟祥市| 五常市| 崇州市| 廊坊市| 广丰县| 张掖市| 松江区| 崇州市| 年辖:市辖区| 南平市| 郯城县| 广昌县| 平原县| 金乡县| 浙江省| 手游| 肇源县| 台湾省| 锦屏县| 资源县| 江都市| 镇原县| 永丰县| 棋牌| 天柱县| 邳州市| 文登市| 阜宁县| 镇宁| 社旗县| 阳曲县| 双桥区| 平山县| 都江堰市| 海安县| 桓台县| 思茅市| 临西县| 新泰市|