Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install github3.py module for python3.5

I want to install github3.py module on python 3.5 on kali linux.

How can I install that?

I have already tried in terminal

pip install github3.py

but it has installed python 2.7.

root@kali:~# conda install pip
bash: conda: command not found
root@kali:~# python --version
Python 2.7.11+
root@kali:~# pip install github3.py
Requirement already satisfied (use --upgrade to upgrade): github3.py in   /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade):     requests>=2.0    in /usr/lib/python2.7/dist-packages (from github3.py)
Requirement already satisfied (use --upgrade to upgrade): uritemplate.py>=0.2.0 in /usr/local/lib/python2.7/dist-packages (from github3.py)
root@kali:~# python3.5
Python 3.5.2 (default, Jul  5 2016, 11:33:36) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
 >>> 

I have installed Python3.5 as shown

like image 900
Love Preet Singh Avatar asked Jun 03 '26 06:06

Love Preet Singh


1 Answers

python -m pip install github3.py should work. It works on my Windows 10 computer. We obtain similar output:

$ python -m pip install github3.py
Collecting github3.py
  Downloading github3.py-0.9.5-py2.py3-none-any.whl (109kB)
    100% |################################| 112kB 159kB/s
Requirement already satisfied (use --upgrade to upgrade): requests>=2.0 in c:\anaconda3\lib\site-packages (from github3.
py)
Collecting uritemplate.py>=0.2.0 (from github3.py)
  Downloading uritemplate.py-0.3.0.tar.gz
Building wheels for collected packages: uritemplate.py
  Running setup.py bdist_wheel for uritemplate.py ... done
  Stored in directory: C:\Users\Forest\AppData\Local\pip\Cache\wheels\f0\28\64\52c28cc4428d1c79eb7e923cade677f5e63ae1d2f
d5d274e19
Successfully built uritemplate.py
Installing collected packages: uritemplate.py, github3.py
Successfully installed github3.py-0.9.5 uritemplate.py-0.3.0

We get something like Building wheels ...

If you try to run the command again we get:

$ python -m pip install github3.py
Requirement already satisfied (use --upgrade to upgrade): github3.py in c:\anaconda3\lib\site-packages
Requirement already satisfied (use --upgrade to upgrade): requests>=2.0 in c:\anaconda3\lib\site-packages (from github3.
py)
Requirement already satisfied (use --upgrade to upgrade): uritemplate.py>=0.2.0 in c:\anaconda3\lib\site-packages (from
github3.py)
like image 65
Jossie Calderon Avatar answered Jun 05 '26 02:06

Jossie Calderon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!