Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经安装了新系统,是时候安装我丢失的 Python 和模块了。
我没有问题,BeautifulSoup但无法Ghost.py工作!
BeautifulSoup
Ghost.py
使用Fedora 21和Python-3.4.3。
Fedora 21
Python-3.4.3
我已经尝试过了pip install pyside,pip install ghost但我想它只适用于旧的python 2.7. 也pip3 install..分别。
pip install pyside
pip install ghost
python 2.7
pip3 install..
如果你们中的任何人能帮我安装这个模块,那就太棒了:)
Ghost.py由于模块不是ghost通过PyPi命名的,因此您需要从字面上调用 install 。
ghost
Python2:
pip install Ghost.py
Python3:
python3.4 -m ensurepip pip3.4 install Ghost.py
注意:您可能需要使用sudo来安装 pip。
sudo
然后你就可以使用Ghost了:
from ghost import Ghost ghost = Ghost()
注意:请确保您在OpenSSL安装任何要使用的 Python之前Ghost已安装.
OpenSSL
Ghost
参见:Ghost.py。