[파이썬] miniconda로 머신러닝 파이썬 가상환경 셋팅하기
https://conda.io/miniconda.html
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
shell에서 실행 sh ./Miniconda3-latest-MacOSX-x86_64.sh
conda create -n ml_python python=3.6
source activate ml_python
conda install numpy
conda install pandas
conda install matplotlib
conda install jupyter
conda install scikit-learn
TF설치
export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.5.0-py3-none-any.whl
pip3 install –upgrade $TF_BINARY_URL
주피터 실행
jupyter notebook
Permission Denied 오류시
source activate ml_python
conda install -c conda-forge tensorflow
다른 source로 변경시
source deactivate
최근 댓글