본문 바로가기

Deep Learning

[Deep Learning] 220721 학습일기

교재는 이 친구로 정했다.

밑바닥부터 시작하는 딥러닝  - YES24

직접 구현하고 움직여보며 익히는 가장 쉬운 딥러닝 입문서 이 책은 라이브러리나 프레임워크에 의존하지 않고, 딥러닝의 핵심을 ‘밑바닥부터’ 직접 만들어보며 즐겁게 배울 수 있는 본격 딥

www.yes24.com


항상 비주얼 스튜디오로만 했지만 이번에는 좀 다르게 cmd에서 진행해보려 한다.
파이썬과 아나콘다는 이미 깔려있는 상태다.


cmd(명령 프롬프트)에 python을 입력하면

이렇게 뜬다.
이 파이썬 인터프리터는 콘다 환경인데 그 환경이 아직 활성화되지 않았단다.
그래서 활성화를 위해 cmd에서 친절히 알려준 사이트로 들어갔다.

https://conda.io/activation

Managing environments — conda 4.13.0.post43+6ed9db722 documentation

Conda removes the path name for the currently active environment from your system command. Note To simply return to the base environment, it's better to call conda activate with no environment specified, rather than to try to deactivate. If you run conda d

conda.io


어떻게 활성화를 시키나면
cmd 초기화면에서

c:\Anaconda3\Scripts\activate base

를 치고

python

을 쳐주면 된다.

아래와 같이!

#cmd 화면

C:\Users\tina0>c:\Anaconda3\Scripts\activate base

(base) C:\Users\tina0>python
Python 3.9.7 (default, Sep 16 2021, 16:58:32) [MSC v.1916 32 bit (Intel)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

tina0은 내 사용자 이름이다.

그러면 파이썬 인터프리터가 실행된다.

'Deep Learning' 카테고리의 다른 글

[Deep Learning] 220805 학습일기  (0) 2022.08.05
[Deep Learning] 220803 학습일기  (0) 2022.08.03
[Deep Learning] 220730 학습일기  (0) 2022.07.30
[Deep Learning] 220729 학습일기  (0) 2022.07.30
[Deep Learning] 220727 학습일기  (0) 2022.07.29