正在安装 Ghost.py

Installing Ghost.py

我已经安装了新系统,是时候安装 Python 和我丢失的模块了..

我对 BeautifulSoup 没有任何问题,但无法使 Ghost.py 投入工作!

使用 Fedora 21Python-3.4.3

我试过 pip install pyside 然后 pip install ghost 但我猜它只对旧的 python 2.7 有效。也分别pip3 install..

如果你们能帮我安装这个模块就太好了:)

您需要直接调用 Ghost.py 的安装,因为该模块未通过 PyPi.

命名为 ghost

Python2:

pip install Ghost.py

Python3:

python3.4 -m ensurepip
pip3.4 install Ghost.py

注意:您可能需要使用sudo来安装pip。

那你就可以使用Ghost了:

from ghost import Ghost
ghost = Ghost()

注意:请确保在 安装 任何 Python 之前安装 OpenSSL打算使用 Ghost.

参见:Ghost.py