Python ImportError:ubuntu上没有名为github3的模块

Python ImportError:ubuntu上没有名为github3的模块,python,ubuntu,Python,Ubuntu,使用:安装了python的Ubuntu 13.10 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> Imp

使用:安装了python的Ubuntu 13.10

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
>>> 
python2.7.5+。
[GCC 4.8.1]关于linux2
有关详细信息,请键入“帮助”、“版权”、“信用证”或“许可证”。
>>>进口GITUB3
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
ImportError:没有名为github3的模块
>>> 
正在尝试安装github3.py以获取“ImportError:”

我不知道发生了什么事。我是python新手,安装它是为了学习这种语言。如果有人有输入,请告诉我。

您需要先安装github3.py库,然后才能导入它

从linux shell中尝试:
sudo pip安装github3.py
(只有当您是管理员时,sudo才能在系统范围内安装)


之后它应该可以工作。

pip安装github3.py

git克隆git://github.com/sigmavirus24/github3.py.git github3.py

cd github3.py

python setup.py安装