# Keras 2.x & Tensorflow 2.x 安裝疑難雜症
###### tags: `ISLab`, `Keras`, `Tensorflow`, `ML`
- 2020/02/11
- Python: 3.7.6
- Tensorflow: 2.1.0
- Keras: 2.3.1
- CUDA: 10.1.2
## Build the environment
1. Install Keras
```
pip install keras
```
2. Install Tensorflow
For GPU and CPU
```
pip install tensorflow
```
or Preview build (CPU)
```
pip install tf-nightly
```
- Testing
```python=
import keras
# Keras would call Tensorflow.
```
### Help
- Tensorflow is installed, but "ImportError: DLL loa
Feb 10, 2020・Contributed by
# Anaconda 小筆記
###### tags: `ISLab`, `Anaconda`
## Command List
### Conda
- conda update conda
- 更新conda版本
- conda --version
### 環境操作
- ==conda deactivate==
- 回到"base"環境
- conda create -n ENVIRONMENT python=VERSION
- 建立新的環境且安裝指定Python版本
- conda remove -n ENVIRONMENT --all
- 移除指定環境
- ==conda env list==
- 檢視環境列表
- ==conda activate ENV_NAME== or ==activate ENV_NAME==
- 切換至指定環境
### 套件
- conda upgrade PACKAGE_NAME
- 更新指定套件
- ==conda upgrade -y --all==
- 更新所有套件
- ==conda install PACAKGE_NA
Feb 10, 2020・Contributed by