Skip to content

Latest commit

Β 

History

History
39 lines (33 loc) Β· 909 Bytes

File metadata and controls

39 lines (33 loc) Β· 909 Bytes

Install TensorFlow CPU Version on Computer

A. With Anaconda

Reference: https://www.tensorflow.org/install/pip

1. Create Virtual Environment

cmd λ˜λŠ” anaconda prompt λ₯Ό μ‹€ν–‰ν•œλ‹€.

> conda create -n tensorflow python=3.6 anaconda

μœ„ 'tensorflow' λŠ” κ°€μƒν™˜κ²½μ˜ 이름이닀.

2. Verify Virtual Environmnet

> conda info --envs

3. Install TensorFlow

κ°€μƒν™˜κ²½ 'tensorflow λ₯Ό activate ν•œλ‹€.

> activate tensorflow
> pip install --upgrade tensorflow

4. Verify Install

> python -c "import tensorflow as tf; tf.enable_eager_execution(); print(tf.reduce_sum(tf.random_normal([1000, 1000])))"

5. Pycharm Interpreter Setting

File>Settings
Project:PyCharmProjects>Project Interpreter

ν†±λ‹ˆλ₯Ό ν΄λ¦­ν•˜κ³  add λ₯Ό ν΄λ¦­ν•œλ‹€.

System Interpreter>Interpreter>

κ°€μƒν™˜κ²½ directory 에 μžˆλŠ” python.exe λ₯Ό μ„ νƒν•œλ‹€.