- Python Reinforcement Learning
- Sudharsan Ravichandiran Sean Saito Rajalingappaa Shanmugamani Yang Wenzhuo
- 301字
- 2021-06-24 15:17:26
Installing Anaconda
All the examples in the book use the Anaconda version of Python. Anaconda is an open source distribution of Python. It is widely used for scientific computing and processing a large volume of data. It provides an excellent package management environment. It provides support for Windows, macOS, and Linux. Anaconda comes with Python installed along with popular packages used for scientific computing such as NumPy, SciPy, and so on.
To download Anaconda, visit https://www.anaconda.com/download/, where you will see an option for downloading Anaconda for different platforms.
If you are using Windows or Mac, you can directly download the graphical installer according to your machine architecture and install using the graphical installer.
If you are using Linux, follow these steps:
- Open your Terminal and type the following to download Anaconda:
wget https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
- Upon completion, we can install Anaconda via the following command:
bash Anaconda3-5.0.1-Linux-x86_64.sh
After successful installation of Anaconda, we need to create a new Anaconda environment that is basically a virtual environment. What is the need for a virtual environment? Say you are working on project A, which uses NumPy version 1.14, and project B, which uses NumPy version 1.13. So, to work on project B you either downgrade NumPy or reinstall Anaconda. In each project, we use different libraries with different versions which are not applicable to other projects. Instead of downgrading or upgrading versions or reinstalling Anaconda every time for a new project, we use a virtual environment. This creates an isolated environment for the current project so that each project can have its own dependencies and will not affect other projects. We will create such an environment using the following command and name our environment universe:
conda create --name universe python=3.6 anaconda
We can activate our environment using the following command:
source activate universe
- 漫話大數據
- LibGDX Game Development Essentials
- 云數據中心基礎
- SQL查詢:從入門到實踐(第4版)
- 算法與數據中臺:基于Google、Facebook與微博實踐
- 白話大數據與機器學習
- 科研統計思維與方法:SPSS實戰
- R語言數據挖掘
- INSTANT Apple iBooks How-to
- Unreal Engine Virtual Reality Quick Start Guide
- 商業智能工具應用與數據可視化
- Scratch 2.0 Game Development HOTSHOT
- Visual Studio 2012 and .NET 4.5 Expert Development Cookbook
- 領域驅動設計精粹
- 碼上行動:利用Python與ChatGPT高效搞定Excel數據分析