Windows 7, 8.1, and 10 install from source instructions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. _winsource: #. RAW on windows can be installed using 64 bit (x64) or 32 bit (x86) python. Unless you know you need a 32 bit build, you should install the 64 bit version. #. Download and install the Microsoft Visual C++ 2008 SP1 Redistributable Package. * Download the 64 bit version from: `https://www.microsoft.com/en-us/download/details.aspx?id=2092 `_ * Download the 32 bit version from: `https://www.microsoft.com/en-us/download/details.aspx?id=29 `_ * Run the installer with the default options. #. Install Miniconda python distribution * Download the free miniconda python 2.7 installer from: `https://conda.io/miniconda.html `_ * Make sure you get the python 2.7 version! * Pick the appropriate 64 bit/32 bit version that matches the redistributable you downloaded in the previous step. * Run the installer with the default options. * More detailed install instructions are available here: `https://conda.io/docs/user-guide/install/windows.html `_ #. Install the necessary python packages * Open an anaconda prompt by clicking on the start menu -> All Programs -> Anaconda2 -> Anaconda Prompt * Run the following commands in the anaconda prompt: * ``conda upgrade conda pip wheel setuptools`` * ``conda install numpy scipy matplotlib pillow wxpython numba h5py lxml cython numexpr`` * ``pip install hdf5plugin silx fabio pyfai`` #. Download RAW from sourceforge ( `http://sourceforge.net/projects/bioxtasraw `_) * Go to the Files tab on the linked website and download the :file:`RAW-{x}.y.z-Source.zip` file, where :file:`{x}.{y}.{z}` is the version number (for example, 1.0.0). #. Expand the downloaded zip file into the downloads folder * Right click on the download and select :menuselection:`Extract All` * Accept the default location for files to be extracted. |1000020100000274000001CAC03003E6F7E944B5_png| #. Check that the files are located at the top of the directory, as in the following image: * Windows 7: Browse to Computer -> Local Disk -> raw * Windows 8 and 10: Browse to This PC -> Local Disk -> raw |10000201000004B0000002A34A8866D873399BD8_png| * You may have only a single subfolders, named something like :file:`raw` or :file:`src`. |10000201000004B0000002A3554A1F12D8C7CB87_png| * If so, browse down levels until you find the directory containing files that look like the top image on this page, and copy everything in that folder to the top level :file:`raw` directory. |10000201000004B0000002A3E91BB88ED0783D2A_png| #. Run :file:`RAW.py` from the command line * Open an anaconda prompt as in Step 4 of these instructions. * Type ``cd C:\raw`` * Hit enter * Type ``python RAW.py`` |anaconda_prompt| * Hit enter #. Enjoy! * If you have trouble with the installation, please see the :ref:`solutions to common problems ` section below. .. |10000201000004B0000002A34A8866D873399BD8_png| image:: images/win_install/10000201000004B0000002A34A8866D873399BD8.png .. |10000201000004B0000002A3554A1F12D8C7CB87_png| image:: images/win_install/10000201000004B0000002A3554A1F12D8C7CB87.png .. |1000020100000274000001CAC03003E6F7E944B5_png| image:: images/win_install/1000020100000274000001CAC03003E6F7E944B5.png .. |10000201000004B0000002A3E91BB88ED0783D2A_png| image:: images/win_install/10000201000004B0000002A3E91BB88ED0783D2A.png .. |anaconda_prompt| image:: images/win_install/anaconda_prompt.png