wget -c https://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86_64.sh
sh Anaconda2-4.2.0-Linux-x86_64.sh
./conda --version
export http_proxys=127.0.0.1:7000
./conda create -vv -n mystock python=2.7 numpy pandas matplotlib ipython scipy
source activate mystock
(mystock) [nemo.zhang@cws71 bin]$ ipython --pylab
Python 2.7.12 |Continuum Analytics, Inc.| (default, Jul 2 2016, 17:42:40)
Type "copyright", "credits" or "license" for more information.
IPython 5.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
/home/nemo.zhang/anaconda2/envs/mystock/lib/python2.7/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
Using matplotlib backend: Qt5Agg
In [1]: plot(arange(10)
...: )
Out[1]: [<matplotlib.lines.Line2D at 0x7efdb2fce250>]
conda install -n mystock lxml requests
pip install tushare