源码安装pandas

1.下载源码

$ wget https://files.pythonhosted.org/packages/65/52/9c18dac21f174ad31b65e22d24297864a954e6fe65876eba3f5773d2da43/python-dateutil-2.1.tar.gz
$ wget https://codeload.github.com/stub42/pytz/tar.gz/release_2017.2
$ wget https://codeload.github.com/pandas-dev/pandas/tar.gz/v0.20.0

2.安装python-dateutil-2.1

$ pip3 install python-dateutil-2.1.tar.gz

3.安装pytz-release_2017.2

$ tar -zxvf pytz-release_2017.2.tar.gz
$ cd pytz-release_2017.2
$ make
$ cd src
$ python3 setup.py install

4.安装pandas-0.20.0

$ pip3 install pandas-0.20.0.tar.gz

5.查看安装列表

$ pip3 list
Package                   Version
------------------------- -------
click                     3.3    
Cython                    0.28   
future                    0.18.2 
Jinja2                    2.11.1 
livereload                2.5.2  
lunr                      0.5.6  
Markdown                  3.2.1  
MarkupSafe                0.23   
mpmath                    0.19   
numpy                     1.9.0  
packaging                 19.2   
pandas                    0.20.0 
pip                       10.0.0 
pyparsing                 2.0.5  
PyrexWithDistutilsSupport 0.0.0  
python-dateutil           2.1    
pytz                      2017.2 
PyYAML                    3.12   
scipy                     1.2.0  
setuptools                39.0.1 
six                       1.14.0 
sqlparse                  0.3.0  
sympy                     1.2    
tornado                   6.0.4  
virtualenv                16.0.0 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章