Created
September 23, 2017 02:07
-
-
Save mrbkdad/e40b2b3ead95c679b2e910a08bd6defc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"### 윈도우 환경에서 pytorch 환경 구성\n", | |
"\n", | |
"1. Anaconda 설치\n", | |
" - https://www.continuum.io/downloads\n", | |
" - python 3.6 버전 설치(개인 pc에 맞게 설치 - 32비트/64비트)\n", | |
"\n", | |
"2. Kivy Installation Wheel 다운로드\n", | |
" - https://www.dropbox.com/s/wso12fmfd55ysus/Kivy-1.10.1.dev0-cp36-cp36m-win_amd64.whl?dl=0\n", | |
"\n", | |
"3. Open Anaconda Prompt as Admin\n", | |
" - 오른쪽 마우스 클릭, 관리자 권한으로 오픈\n", | |
"\n", | |
"4. 아래 명령어 실행\n", | |
" - conda install -c anaconda python=3.6.1\n", | |
" - conda install -c peterjc123 pytorch=0.1.12\n", | |
"\n", | |
"5. Kivy wheel 설치\n", | |
" - Anaconda prompt에서 해당 파일 저장 폴더로 이동\n", | |
" - 아래 명령어 실행\n", | |
" - pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew\n", | |
" - pip install kivy.deps.gstreamer\n", | |
" - pip install Kivy-1.10.1.dev0-cp36-cp36m-win_amd64.whl\n", | |
" \n", | |
"6. Kivy 설치 확인\n", | |
" - conda list : 설치 확인\n", | |
"\n", | |
"7. Spyder 셋팅\n", | |
" - Spyder 실행(시작메뉴 > 모든프로그램 > Anaconda > ...)\n", | |
" - Tool > Preferences > Run\n", | |
" - Console > Execute in an external System terminal 로 설정 변경\n", | |
"\n", | |
"8. 위의 모든 과정이 다되었다면.\n", | |
" - 아나콘다 환경에서 jupyter notebook을 실행 및 테스트\n", | |
" \n", | |
"[참고 사이트]\n", | |
"https://www.superdatascience.com/pytorch/" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ | |
"import torch" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 3", | |
"language": "python", | |
"name": "python3" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.6.1" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment