Skip to content

2. Installation

Javinator9889 edited this page Aug 12, 2018 · 3 revisions

As this section is explained at README.md file, let me just do a copy/pate of its contents ;)


As usual, you have the pip mode or the easy install methods:

The commands for Windows are the same but without sudo

Installing via PyPi (pip)

  • In some Linux systems, pip is not directly available in command line, so we have two options:

    Installing pip for Python 3 (assuming that you already have Python 3 installed):

    ## DEBIAN SYSTEMS ##
    sudo apt update && sudo apt upgrade
    sudo apt-get install python3-pip
    ## CENTOS ##
    sudo yum install python34-setuptools
    sudo easy_install pip
  • Installing pyGle:

    Once you did what said before, now you are able to install pyGle

    #### USING PIP ####
    sudo pip3 install g-pyGle
    
    ## If pip3 is not available ##
    sudo pip install g-pyGle
    
    ## Via Python 3 ##
    sudo python3 -m pip install g-pyGle
    
    ## Without admin permissions ##
    pip3 install -U g-pyGle 
    OR
    python3 -m pip install -U g-pyGle

Installing via easy install

  • Basically, we will install Python 3 on our systems, and then we will be able to install pyGle:

  • Now, we can install pyGle as follows:

    #### USING EASY INSTALL ####
    git clone https://github.com/Javinator9889/pyGle.git
    cd pyGle
    sudo python3 setup.py install

<<< Previous page - Next page >>>