Compiling instructions

From Bitmessage Wiki
Revision as of 17:58, 19 November 2012 by Atheros (talk | contribs) (Created page with "This page should help novice users run Bitmessage from the source code files. == Windows == # Download and install the latest revision of Python 2.7 (currently Python 2.7.3 f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page should help novice users run Bitmessage from the source code files.

Windows

  1. Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from here). The Windows x86 MSI Installer is the right choice for most people. (64-bit users may want the 64-bit version).
  2. Test that it installed:
    1. Open a command prompt by going to Start > Run. Type 'cmd' then press enter.
    2. type 'python'. If python is installed, you should see the python version and the prompt: '>>>'
    3. If you see a message such as: "'Python is not recognized as an internal or external command..." then you must add the python path to your path environmental variable:
      1. Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7
      2. Follow these directions to add the Python path to your path variable.
      3. Close the command prompt window and reopen it.
      4. Try running 'python' again.
    4. Press Ctrl-Z to exit Python.
  3. Bitmessage has only one dependency (PyQt) which you will need to download yourself. Download and install PyQt from here. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7.
  4. Download the source code for PyBitmessage from the GitHub. If it is in a zip file, you will need to extract it. There should be a number of files (around ten) and an rsa folder.
  5. To run Bitmessage, double click on the bitmessagemain.py file, or in a command prompt, change directories to the directory holding bitmessagemain.py and type 'python bitmessagemain.py'.