Search code examples
pythondjangopippython-module

How to install Py-Moneyed?


I'm trying to add MoneyField to my Django App using Django-Money.

According to the requirements, I need to install py-moneyed v0.4 or later.

I checked py-moneyed but it doesn't mention how to install py-moneyed?

Can someone help me to install py-moneyed and Django-Money on my environment ? Is there a pip or easy_install package that will do this?


Solution

  • Try running:

    pip install py-moneyed
    

    or

    easy_install py-moneyed
    

    If pip and easy_install do not work, download the source for py-moneyed from their GitHub by clicking on the 'Download Zip' button on the right side of the website.

    Once you have downloaded the source, run setup.py inside the folder with this command:

    python setup.py install
    

    This will install the module. For more information see Python's Docs on Installing Python Modules.