rebaseallのかけ方

http://rcmdnk.github.io/blog/2013/07/05/computer-windows-cygwin-git/を参考に

cygsrv -l
cygsrv -E
cygserv -R
ps -a

ファイル名を指定して実行から
cygwin/bin/ash.exe

http://stackoverflow.com/questions/19672690/error-no-commands-supplied-when-trying-to-install-pyglet

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

http://chiranoura.nobody.jp/articles/2014-03-20_01_how_to_install_matplotlib_on_cygwin/

iphython?
http://stackoverflow.com/questions/18430386/global-name-show-is-not-defined-when-plotting-in-ipython-notebook
easy_install ipython


ここを参考にするとpngのグラフはできた。
http://loumo.jp/wp/archive/20100219183704/


apt-cygの導入
http://so-zou.jp/software/tech/tool/compatibility-layer/cygwin/setup/install.htm


427 ipython
428 ipython
429 ipython
430 ipython
431 ipython
432 ls
433 display test.png
434 gnuplot
435 easy_install matplotlib
436 cd mat+
437 cd mat*
438 python setup.py
439 python setup.py build
440 python setup.py install
441 python
442 ls
443 cd examples
444 ls
445 cd animation
446 ls
447 python animate_decay.py
448 startX
449 xterm &
450 jobs
451 ps -ax
452 ps -a
453 xterm
454 startX &
455 jobs
456 kill -9 %1
457 jobs
458 ls
459 vim ~/bashrc
460 vim ~/.bashrc
461 source ~/.bashrc
462 xterm &
463 vim ~/.bashrc
464 vim ~/.bashrc
465 source ~/.bashrc
466 xterm &
467 vim ~/.bashrc
468 vim ~/.bashrc
469 vim ~/.bashrc
470 vim ~/.bashrc
471 ls ~
472 ls $HOME
473 ls $HOME/.bashrc
474 source $HOME/.bashrc
475 xterm &T
476 xterm &
477 vim ~/.bashrc
478 vim $HOME/.bashrc
479 xterm &
480 source $HOME/.bashrc
481 xterm &
482 vim ~/.bashrc
483 xterm &
484 gnuplot
485 ls
486 pa
487 ps
488 xterm
489 xterm
490 init 3 && init 5
491 vim ~/,[bashrc
492 vim ~/.bashrc
493 source ~/.bashrc
494 xterm &
495 vim ~/.bashrc
496 gnuplot
497 diplay test.png
498 display test.png
499 ipython
500 ipython
501 svn --force export http://apt-cyg.googlecode.com/svn/trunk/ /cygwin/bin/
502 chmod +x /bin/apt-cyg
503 apt-cyg
504 easy_install-3.3
505 apt-cyg python3.3
506 apt-cyg install python3.3
507 python3
508 wget https://pypi.python.org/pypi/distribute/0.7.3
509 ls
510 cd distribu*
511 ls
512 cd dis
513 cd dis*
514 ls | grep dis
515 wget https://pypi.python.org/packages/source/d/distribute/distribute-0.7.3.zip#md5=c6c59594a7b180af57af8a0cc0cf5b4a
516 unzip ditri*.zip
517 unzip distri*.zip
518 ls
519 cd dis*
520 ls
521 python setup.py install
522 cd ..
523 ls
524 cd numpy
525 cd mat*
526 python3 setup.py build
527 cd
528 wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
529 python3 ez_setup.py
530 easy_install3
531 easy_install-3.2
532 easy_install-3.2 numpy
533 python3 setup.py build
534 ls
535 cd mat*
536 python3 setup.py build
537 python3 setup.py install
538 easy_install-3.2 ipython
539 easy_install-3.3 ipython
540 easy_install-3.2 tkinker
541 easy_install-3.2 tkinter
542 python -v
543 python3 -v
544 python3 --v
545 python3 -version
546 python3 -V
547 easy_install-3.2 scipy
548 zypper install python-matplotlib-tk
549 apt-cyg python-matplotlib-tk
550 apt-cyg install python-matplotlib-tk
551 easy_install-3.2 ipython3
552 easy_install-3.2 ipython
553 easy_install-3.2 tkinter
554 cyg-apt install python-tk
555 apt-cyg install python-tk
556 apt-cyg install python3-tk-dbg
557 python -m tkinter
558 python -m Tkinter
559 python3 -m Tkinter
560 python3 -m tkinter
561 history

setup.exe
でpython3-tkinterをいれる

python3 setup.py build
python3 setup.py install
をやる

  • >できた!

nltkがpython3にない

  • nltkをpython3で再インストール

デフォルトがAggだとでないのでTKAggに
http://matplotlib.org/users/customizing.html#customizing-matplotlib
をみてもフォルダになくてよくわからないので、インストールからいじる

以下を変える
setup.cfg

backend=Agg
から
backend= TKagg

  • >失敗

とりあえず、
import nltkする前に

import matplotlib
matplotlib.use("TkAgg")
とすればOKっぽい