λ”₯λŸ¬λ‹/Today I learned :

λ”₯λŸ¬λ‹ μ‹€ν–‰ μ€€λΉ„ (μž‘μ—…ν™˜κ²½ λ§Œλ“€κΈ°)

주영 🐱 2021. 3. 10. 13:13
728x90
λ°˜μ‘ν˜•

jupyter notebook 을 μ΄μš©ν•œ μ‹€μŠ΅ μ€€λΉ„

 

μ•„λ‚˜μ½˜λ‹€λ₯Ό μ„€μΉ˜ν•œ ν›„ , μ•„λ‚˜μ½˜λ‹€μ— ν¬ν•¨λ˜μ§€ μ•Šμ€ Tenserflow, keras νŒ¨ν‚€μ§€λ§Œ μΆ”κ°€λ‘œ μ„€μΉ˜ν•œλ‹€. 

 

 

1. μ•„λ‚˜μ½˜λ‹€ μ„€μΉ˜ν•˜κΈ°

 

www.anaconda.com  에 μ ‘μ†ν•΄μ„œ μžμ‹ μ˜ OSν™˜κ²½μ— λ§žλŠ” μΈμŠ€ν†¨λŸ¬ λ‹€μš΄λ‘œλ“œ ν›„ μ„€μΉ˜

 

 

2. μ„€μΉ˜μ™„λ£Œ ν›„ [μ‹œμž‘] -  Anaconda powershell Prompt μ—΄κΈ°

 

3. 창이 열리면 pip install tensorflow μž…λ ₯, pip install keras μž…λ ₯ν•˜μ—¬ μ„€μΉ˜

 

4. μ œλŒ€λ‘œ μ„€μΉ˜κ°€ λ˜μ—ˆλŠ”μ§€ ν™•μΈν•˜λŠ” 방법:   

 

python μž…λ ₯ - import tensorflow as tf μž…λ ₯ - print(tf.__version__)μž…λ ₯μ‹œ 2.4.1κ³Ό 같이 버전이 좜λ ₯되면 μ„€μΉ˜κ°€ μ™„λ£Œλœ 것

 

β˜… Failed to load the native TensorFlow runtime.

β˜… ImportError: DLL load failed: μ§€μ •λœ λͺ¨λ“ˆμ„ 찾을 수 μ—†μŠ΅λ‹ˆλ‹€.

 

μœ„μ™€ 같은 였λ₯˜ λ°œμƒμ‹œ

 

λ‹€μŒ μ£Όμ†Œμ—μ„œ vc_redist.x64.exeλ₯Ό λ‹€μš΄ λ°›κ³  μ„€μΉ˜

 

https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

 

The latest supported Visual C++ downloads

Notice Some of the downloads that are mentioned in this article are currently available on My.VisualStudio.com. Make sure to log in by using a Visual Studio Subscription account so that you can access the download links. If you are asked for credentials,

support.microsoft.com

 

 

 

exit() λͺ…λ ΉμœΌλ‘œ pythonμ—μ„œ λ‚˜μ˜€κΈ°

 

jupyter notebook μž…λ ₯으둜 μ£Όν”Όν„° λ…ΈνŠΈλΆ μ‹€ν–‰ κ°€λŠ₯

 

λ°˜μ‘ν˜•