Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 2.61 KB

install_windows.rst

File metadata and controls

60 lines (38 loc) · 2.61 KB

The procedure to install dependences in windows isn't so easy as in POSIX. I'll try to explain here the procedure.

Current versions:
  • python v3.6
  • Link checked at 12/03/17
  • Procedure checked in windows 7 and windows 10

Using Anaconda

If the disk space isn't problem, we can install a python distribution with full of packages to boost it, like anaconda:

We need only install iapws run the command from a power shell:

Install only python and neccessary library

First we need install python3, from his page, it depends of your computer architecture, x86, x86-64:

Now using the pip command shipped with python we can install dependences easy. Open a cmd console and run:

  • py -m pip install PyQt5
  • py -m pip install matplotlib

Scipy is a problematic dependence in windows, if we try to install like matplotlib we have error at compilation. We need find a precompiled versions fine for our system, same architecture and same python version. Surfing in the web we can find this page with full of python modules precompiled. We install numpy too for this repositories. So first we download the appropiate wheels:

  • numpy-x86: numpy‑1.12.0+mkl‑cp36‑cp36m‑win32.whl
  • numpy-amd64: numpy‑1.12.0+mkl‑cp36‑cp36m‑win_amd64.whl
  • scipy-x86: scipy‑0.18.1‑cp36‑cp36m‑win32.whl
  • scipy-amd64: scipy‑0.18.1‑cp36‑cp36m‑win_amd64.whl

To install both we are going to use the cmd terminal and using the command:

  • py -m pip install C:folderfile_numpy.whl
  • py -m pip install C:folderfile_scipy.whl

Remerber it can use TAB to autocomplete command. Respect the order because scipy depend numpy, first install numpy wheel.

Optional dependences: The spreedsheet support is easy to get, running the command:

  • py -m pip install ezodf lxml
  • py -m pip install openpyxl
  • py -m pip install xlwt
  • py -m pip install openbabel

Get pychemqt code

To get pychemqt download the zip file from https://github.com/jjgomera/pychemqt/archive/master.zip and unzip whatever you want. To run doble click over the main script pychemqt.py.