install order:
tensorflow-gpu
scikit-learn
numpy
scipy
matplotlib
tkinter
tensorflow-gpu :
pip install tensorflow-gpu==1.3
#work well with python3.6 and cuda8.0
scikit-learn:
numpy:
pip install numpy
#maybe is installed by tensorflow-gpu
scipy:
matplotlib:
tkinter:
1. apt-get install python3-tk
2. tcl和tk的下载地址:http://www.tcl.tk/software/tcltk/download.html
tar -zvxf tcl8.4.4.tar.gz
cd tcl8.4..4/
cd unix
./configure
make
make install
此时键入命令tclsh,就可以使用tcl了
tar -zvxf tk8.4.4.tar.gz
cd tk8.4.4/
cd unix
./configure
make
make install
执行wish就可以使用tk了
3. 重新make Python:
cd $python-dir
./configure
make
make install