mirror of https://github.com/Qiskit/qiskit.git
Contributing.rst now points to main docs for installing from source (#1850)
* point to main docs for installation instructions * update
This commit is contained in:
parent
6bb80b1605
commit
91149f910e
|
@ -140,45 +140,8 @@ A good example:
|
|||
Installing Qiskit Terra from source
|
||||
-----------------------------------
|
||||
|
||||
This section include some tips that will help you install and push source code.
|
||||
|
||||
.. note::
|
||||
|
||||
We recommend using `Python virtual environments <https://docs.python.org/3/tutorial/venv.html>`__
|
||||
to cleanly separate Qiskit from other applications and improve your experience.
|
||||
|
||||
|
||||
Setup with an environment
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The simplest way to use environments is by using Anaconda
|
||||
|
||||
.. code:: sh
|
||||
|
||||
conda create -y -n QiskitDevenv python=3
|
||||
source activate QiskitDevenv
|
||||
|
||||
For the python code, we need some libraries that can be installed in this way:
|
||||
|
||||
.. code:: sh
|
||||
|
||||
cd qiskit-terra
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
To get the examples working try
|
||||
|
||||
.. code:: sh
|
||||
|
||||
$ pip install -e .
|
||||
|
||||
and then you can run them with
|
||||
|
||||
.. code:: sh
|
||||
|
||||
$ python examples/python/using_qiskit_terra_level_0.py
|
||||
|
||||
We recommend that after setting up Terra you set up Aer to get more advanced simulators.
|
||||
Please see the `Installing Qiskit Terra from Source <https://qiskit.org/documentation/install/terra.html>`_
|
||||
section of the Qiskit documentation.
|
||||
|
||||
|
||||
Test
|
||||
|
|
Loading…
Reference in New Issue