Skip to content

Installation

Tammy Yang edited this page Feb 19, 2020 · 1 revision

Install from PyPI

User-level installation

$ pip3 install --user fbjson2table                                              

System-level installation

$ sudo pip3 install fbjson2table                                                

Install from Source

  1. Clone this repository

    $ git clone https://github.com/numbersprotocol/fb-json2table.git            
    
  2. Export PYTHONPATH

    $ export PYTHONPATH=$PWD/fb-json2table/:$PYTHONPATH                         
    

    or you may use virtualenv to keep the dev environment clean

    $ git clone https://github.com/numbersprotocol/fb-json2table.git            
    $ pip3 install virtualenv                                                   
    $ virtualenv -p python3 env                                                 
    $ source env/bin/activate                                                   
    $ (env) python3 setup.py bdist_wheel                                        
    $ (env) pip3 install dist/fbjson2table-1.0.0-py3-none-any.whl               
                                                                                
    # if you want to run example/examply.py                                     
    $ (env) pip3 install tabulate                                               
    
Clone this wiki locally