Installation

The implementation is in Python 3.2, and is intended for Windows (any recent), Mac OS-X 10.5/10.6, Unix or Linux. The standard intallation includes both desktop GUI and a localhost RESTful web server. Sources for the standard version are on gitHub (master branch). A Python 2.7 server version of the non-desktop portion supports servers such as Google App Engine (source zip is on the download page).

Memory required for desktop use is about twice of comparable commercial products, e.g., a US-GAAP filing might need 30-60MB (x32 ok), comparing two 2011 us-gaaps for versioning report generation might take 4.5G (x64 needed). Memory required for server use for large dimensional instances has been reported to be less than some comparable commerical products.

Windows

Windows x64 Installer

  1. Download the Windows x64 installer. It is a .exe installer file with the App inside.
  2. (All the Python and resources needed are built inside the installation, you do not have to download Python or ActiveTCL separately.)

Windows 32 bit Installer

  1. Download the Windows 32 bit (x86) installer. It is a .exe installer file with the App inside.
  2. (All the Python and resources needed are built inside the installation, you do not have to download Python or ActiveTCL separately.)

Mac

App

  1. Download the Mac OS App. It is a .dmg file with the App inside. Drag the App to your Applications folder (or anywhere else, such as desktop), and ‘eject’ the .dmg.
  2. (All the Python and resources needed are built inside the App, you do not have to download Python or ActiveTCL separately.)

Linux & Sparc Solaris

The current linux build has been compiled on Ubuntu 12.04, the Sparc build on Solaris 10, and they are binaries that includes the Python libraries.  Install by unzipping.  The .so’s may need an LD_LIBRARY_PATH set to the unzipped location.  The Sparc build contains .so’s known to be needed; the Ubuntu build depends on Ubuntu .so presence.   The Arelle config json files and cache default to being under “~/.config/arelle”.

(The Linux Ubuntu build is known to not have the library configurations for RedHat.)

(Please contact support@arelle.org for any linux/unix issues.)

 

12 Responses to Installation

  1. You made some tight points there. I looked on the net for the difficulty and located most individuals can approve along with your blog.

  2. Don says:

    I got the following error when I install from source code on Mac

    —————————————

    macbook:$ python3.2 -marelle.CntlrWinMain
    Traceback (most recent call last):
    File “/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/runpy.py”, line 160, in _run_module_as_main
    “__main__”, fname, loader, pkg_name)
    File “/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/runpy.py”, line 73, in _run_code
    exec(code, run_globals)
    File “/Users/Downloads/Arelle/arelle/CntlrWinMain.py”, line 17, in
    from arelle import XbrlConst
    File “arelle/XbrlConst.py”, line 1, in
    from arelle.ModelValue import qname
    File “arelle/ModelValue.py”, line 124, in
    from arelle.ModelObject import ModelObject
    File “arelle/ModelObject.py”, line 8, in
    from lxml import etree
    ImportError: No module named lxml
    macbook:Arelle $ python3.2 -marelle.CntlrWinMain
    Traceback (most recent call last):
    File “/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/runpy.py”, line 160, in _run_module_as_main
    “__main__”, fname, loader, pkg_name)
    File “/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/runpy.py”, line 73, in _run_code
    exec(code, run_globals)
    File “/Users/Downloads/Arelle/arelle/CntlrWinMain.py”, line 17, in
    from arelle import XbrlConst
    File “arelle/XbrlConst.py”, line 1, in
    from arelle.ModelValue import qname
    File “arelle/ModelValue.py”, line 124, in
    from arelle.ModelObject import ModelObject
    File “arelle/ModelObject.py”, line 8, in
    from lxml import etree
    ImportError: No module named lxml
    macbook$

  3. adit says:

    what about linux?

  4. Dennis says:

    Is there (or will there be) a command line switch for unattended installation on Windows systems?

  5. Christopher says:

    Ubuntu raring is now using python 3.3. To install python3.2, one must use a PPA:

    sudo apt-add-repository ppa:fkrull/deadsnakes
    sudo apt-get update
    sudo apt-get install python3.2 python3.2-tk

    Unfortunately python3.2-lxml is not available in that PPA, and one must compile it from source.

  6. Adil says:

    hello ..
    i am using ubuntu 14.04 for install arelle …
    i am using arelle for ubuntu
    but i have problem when i execute ./arelle on arelle folder
    he always refers to pyhton3.3 on error, i read arelle just using python3.2.. can u help me
    here is my phyton and error :
    There are 3 choices for the alternative python (providing /usr/bin/python).

    Selection Path Priority Status
    ————————————————————
    0 /usr/bin/python2.7 10 auto mode
    1 /usr/bin/python2.7 10 manual mode
    *2 /usr/bin/python3.2 10 manual mode
    3 /usr/bin/python3.4 1 manual mode

    Press enter to keep the current choice[*], or type selection number: 1
    update-alternatives: using /usr/bin/python2.7 to provide /usr/bin/python (python) in manual mode
    adilramdan@Monkey-D-Luffy:~/Tools/Arelle$ ./arelle
    Traceback (most recent call last):
    File “/usr/local/lib/python3.3/site-packages/cx_Freeze/initscripts/Console3.py”, line 27, in
    File “arelleGUI.pyw”, line 9, in
    File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1616, in _handle_fromlist
    File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 313, in _call_with_frames_removed
    File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1567, in _find_and_load
    File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1534, in _find_and_load_unlocked
    File “/home/arelle/src/arelle/CntlrWinMain.py”, line 11, in
    File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1567, in _find_and_load
    File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1534, in _find_and_load_unlocked
    File “/usr/local/lib/python3.3/tkinter/__init__.py”, line 40, in
    File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1567, in _find_and_load
    File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1531, in _find_and_load_unlocked
    ImportError: No module named ‘_tkinter’

    • admin says:

      Hi Adil,

      I suggest you start with 3.4, we’ve just updated the sources for 3.4 (need to freshen your copy).

      There are other Python modules that you’ll need for Arelle, you can see in setup.py what modules are used to make a “build”, my suggestion is to start with the installation source you are using for setuptools, lxml, tkinter, regex, and isolate. If you use the xbrlDB database plugin then also pg8000, pymysql, rdflib.

      If not using GUI mode (just agrelleCmdLine) then I maybe you can get by without tinter.

      If any more questions please e-mail support@arelle.org.

      Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>