Proper
Proper

Reputation: 43

ImportError: No module named github3 on ubuntu

Working with : Ubuntu 13.10 installed with python

Python 2.7.5+.
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import github3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named github3
>>> 

Trying to install github3.py getting "ImportError:"
I have no clue what is going on . I am new to python and installing this to try to learn this language . Let me know if anyone has input.

Upvotes: 2

Views: 5043

Answers (4)

BLACK BOX
BLACK BOX

Reputation: 1

python3    

Python 3.9.10 (main, Feb 22 2022, 13:54:07) 
[GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

>>> import github3
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()

Upvotes: 0

d0x75
d0x75

Reputation: 21

Working with : Kali Linux

Currently the 'github3' module is not working in python version 2.7... I also get this error!

└─$ python
Python 2.7.18 (default, Jul 14 2021, 08:11:37)
[GCC 10.2.1 20210110] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import github3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named github3

But by python 3 I managed to get out of the error!

└─$ python3
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import github3
>>> exit()

It is likely that this module is only compatible with python 3 now....https://pypi.org/project/github3.py/

Upvotes: 0

Simran Singhal
Simran Singhal

Reputation: 21

pip install github3.py

or

git clone git://github.com/sigmavirus24/github3.py.git github3.py

cd github3.py

python setup.py install

https://github3py.readthedocs.io/en/master/

Upvotes: 0

Geotob
Geotob

Reputation: 2945

You will need to install the github3.py library before you can import it.

From your linux shell try: sudo pip install github3.py (sudo only if you are admin, to install it system-wide)

It should work afterwards.

Upvotes: 4

Related Questions