File: install.rst

package info (click to toggle)
qcengine 0.30.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,524 kB
  • sloc: python: 36,452; makefile: 54; sh: 35
file content (63 lines) | stat: -rw-r--r-- 1,420 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Install QCEngine
================

You can install qcengine with ``conda`` or with ``pip``.

Conda
-----

You can install qcengine using `conda <https://www.anaconda.com/download/>`_:

.. code-block:: console

    >>> conda install qcengine -c conda-forge

This installs QCEngine and its dependencies. The qcengine package is maintained on the
`conda-forge channel <https://conda-forge.github.io/>`_.


Pip
---

You can also install QCEngine using ``pip``:

.. code-block:: console

   >>> pip install qcengine


Test the Installation
---------------------

.. note::

   QCEngine is a wrapper for other quantum chemistry codes. The tests for QCEngine will only test the wrapper for a
   given code if its detected in the ``$PATH`` or current Python Environment, otherwise the tests for that package are
   skipped. Keep this in mind if you see many ``skip`` or ``s`` codes output from PyTest.

You can test to make sure that Engine is installed correctly by first installing ``pytest``.

From ``conda``:

.. code-block:: console

   >>> conda install pytest -c conda-forge

From ``pip``:

.. code-block:: console

   >>> pip install pytest

Then, run the following command:

.. code-block::

   >>> pytest --pyargs qcengine


Developing from Source
----------------------

If you are a developer and want to make contributions Engine, you can access the source code from
`github <https://github.com/molssi/qcengine>`_.