Qiskit-terra: qiskit isn't importing from qiskit_textbook.tools

Created on 25 Apr 2020  路  3Comments  路  Source: Qiskit/qiskit-terra

The command given in jupyter notebook using qiskit not working, while it works in qiskit notebook.

recreated and expected.zip

Most helpful comment

@HimanshuBansal112 the qiskit_textbook package is separate from qiskit. You can install it by downloading this folder: https://github.com/Qiskit/qiskit-textbook/tree/master/qiskit-textbook-src and running: pip install ./qiskit-textbook-src from the directory you downloaded the folder to.

Alternatively, the package is installed in the IQX Jupyterhub: example, so you can try it out without having to install anything on your own machine.

All 3 comments

@HimanshuBansal112 the qiskit_textbook package is separate from qiskit. You can install it by downloading this folder: https://github.com/Qiskit/qiskit-textbook/tree/master/qiskit-textbook-src and running: pip install ./qiskit-textbook-src from the directory you downloaded the folder to.

Alternatively, the package is installed in the IQX Jupyterhub: example, so you can try it out without having to install anything on your own machine.

@frankharkins Thank you.

@frankharkins you are an outstanding man of solutions. keep doing good in this world.

Was this page helpful?
0 / 5 - 0 ratings