Search code examples
pythoninstallationpython-3.4ghost.py

Installing Ghost.py


I have installed new system and time has come to install Python and modules I have lost..

I had no problems with BeautifulSoup but can't make Ghost.py into work!

Using Fedora 21 and Python-3.4.3.

I have tried pip install pyside and then pip install ghost but I guess it worked only for an old python 2.7. Also pip3 install.. respectively.

It would be awesome if any of you could help me install this module :)


Solution

  • You need to literally call the install for Ghost.py since the module isn't named ghost through PyPi.

    Python2:

    pip install Ghost.py
    

    Python3:

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

    Note: You may need to use sudo to install pip.

    Then you will be able to use Ghost:

    from ghost import Ghost
    ghost = Ghost()
    

    Note: Do make sure that you have OpenSSL installed before any installation of Python where you intend to use Ghost.

    See: Ghost.py.