> For the complete documentation index, see [llms.txt](https://sdc-james.gitbook.io/onebook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdc-james.gitbook.io/onebook/2./2.2./2.2.2..md).

# 3.2.2.     텐서플로 설치

\
Anaconda Prompt 에서 onebook 가상환경인지를 확인한 후 텐서플로를 설치합니다. 아나콘다 배포판에는 텐서플로 최신 버전이 늦게 포함되므로 파이썬 기본 패키지 관리자인 pip로 텐서플로를 설치합니다.  일반적으로 CPU만 사용하는 버전은

\>pip install tensorflow

![](/files/-LbR_6-fH9TJ5p9p7rs-)

물론 GPU 지원을 받는 버전은 >pip install tensorflow-gpu 명령으로 설치해야 합니다.

텐서프로가 설치가 정상적으로 완료되면 파이썬을 실행하여 텐서플로가 동작하는지 확인해 봅니다.

Anaconda Prompt에서 onebook 가상환경인지를 확인한 후 python을 실행합니다.  다음을 코드를 실행 해 봅니다. 파이썬 실행에서 빠져나오는 키는 Ctrl+D 를 누르면 됩니다.

Activate

```
>>> import tensorflow as tf
>>> print(tf.__version__)
1.12.0
>>> hello=tf.constant(‘Hello World’)
>>> sess=tf.Session()
>>> print(sess.run(hello))
b’Hello World’
>>> 
```

출력된 1.12.0 은 현재 내 개발환경에 설치된 텐서플로의 버전이고 b’Hello world’는 printf 텐서플로의 세션을 실행하여 출력 된 문자입니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sdc-james.gitbook.io/onebook/2./2.2./2.2.2..md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
