2017년 2월 24일 금요일

[python] Setting enviroment

1. Install visual studio 2015,2013
2. Install anaconda 2.7
3. Install Theano
4. Install Cuda 8.0 , Cudnn5.1
5. Install keras
6. Create vertual enviroment python3.5
7. install kivy 1.9.1 , kivy desinger




3,4,5==

1. Install Visual Studio 2013

2. Install Cuda 8.0

3.Install Git

4. Install Theano

----------------------------------------------------------------------

conda install pip six nose numpy scipy

conda install mingw libpython

cd \apps\pythonApps   (Directory for Theano File)

git clone git://github.com/Theano/Theano.git

cd Theano

python setup.py develop

conda list

----------------------------------------------------------------------

5. Sys Enviroment add

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin 


Name: THEANO_FLAGS 
Value:  floatX=float32,device=gpu,nvcc.fastmath=True

----------------------------------------------------------------------

6. Install Keras

cd \apps\pythonApps   (Directory for Keras File)

git clone https://github.com/fchollet/keras

cd keras

python setup.py develop

----------------------------------------------------------------------
7. Install CuDNN 5.1
----------------------------------------------------------------------
8. Add Theano Flag

Name: THEANO_FLAGS
Value:  floatX=float32,device=gpu,nvcc.fastmath=True,lib.cnmem=0.81


<7>7==
python -m pip install --upgrade pip wheel setuptools

python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew

python -m pip install kivy.deps.angle

python -m pip install kivy

pip install -U watchdog pygments docutils jedi gitpython six kivy-garden

garden install filebrowser

- Test - 
cd kivy-designer

python -m designer

댓글 없음:

댓글 쓰기