Skip to content

Commit ae2f363

Browse files
Shovit BhariShovit Bhari
Shovit Bhari
authored and
Shovit Bhari
committed
commands updated
1 parent 57f46d7 commit ae2f363

File tree

1 file changed

+31
-8
lines changed

1 file changed

+31
-8
lines changed

SomeImportantCommands.ipynb

+31-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"Run the commands below to check all the installed python libraries in your machine. \n",
8+
"`!pip list` \n",
9+
"`!pip freeze`"
10+
]
11+
},
312
{
413
"cell_type": "markdown",
514
"metadata": {},
@@ -12,15 +21,21 @@
1221
"cell_type": "markdown",
1322
"metadata": {},
1423
"source": [
15-
"Run the commands below to check all the installed python libraries in your machine. \n",
16-
"`!pip list` \n",
17-
"`!pip freeze`"
24+
"To check Qiskit Version \n",
25+
"\n",
26+
"`import qiskit` \n",
27+
"`qiskit.__qiskit_version__`"
1828
]
1929
},
2030
{
2131
"cell_type": "markdown",
2232
"metadata": {},
2333
"source": [
34+
"#### If plot_bloch_multivector is not running follow these steps\n",
35+
"\n",
36+
"First upgrade pip \n",
37+
"`!pip install --upgrade pip --user`\n",
38+
"\n",
2439
"This version of qiskit that will run plot_bloch_multivector is 0.19.0 . If you are having issues with plot_bloch_multivector, run the command below in Juputer Notebook or the terminal. \n",
2540
"`!pip install qiskit==0.19.0` \n",
2641
"If the current user does not have root previleges use the following command. \n",
@@ -31,18 +46,26 @@
3146
"cell_type": "markdown",
3247
"metadata": {},
3348
"source": [
34-
"To check Qiskit Version \n",
49+
"#### Installing the qiskit_textbook Package \n",
50+
"The Qiskit Textbook provides some tools and widgets specific to the Textbook. This is not part of Qiskit and is available through the qiskit_textbook package. The quickest way to install this with [Pip](https://pypi.org/project/pip/) and [Git](https://git-scm.com/) is through the command:\n",
3551
"\n",
36-
"`import qiskit` \n",
37-
"`qiskit.__qiskit_version__`"
52+
"`pip install git+https://github.com/qiskit-community/qiskit-textbook.git#subdirectory=qiskit-textbook-src`\n",
53+
"\n",
54+
"Alternatively, you can download the folder [qiskit-textbook-src](https://github.com/qiskit-community/qiskit-textbook) from the Github and run:\n",
55+
"\n",
56+
"`pip install ./qiskit-textbook-src`\n",
57+
"from the directory that contains this folder.\n",
58+
"\n"
3859
]
3960
},
4061
{
4162
"cell_type": "markdown",
4263
"metadata": {},
4364
"source": [
44-
"To check git version on the **terminal** \n",
45-
"`git --version`\n"
65+
"If required check your git version and upgrade. \n",
66+
"\n",
67+
"* To check git version on the **terminal** \n",
68+
"`git --version`"
4669
]
4770
},
4871
{

0 commit comments

Comments
 (0)