我已经安装了pip install git+https://github.com/qiskit-community/qiskit-textbook.git#subdirectory=qiskit-textbook-src的Qiskit教科书。但我不知道它是从哪里下载的
发布于 2021-05-11 12:41:14
该命令安装Qiskit教科书包,它是一个Python包,包含教科书中使用的一些问题和小部件。您可以使用pip show <package>查看已安装包的位置。
pip show qiskit-textbook产出:
Name: qiskit-textbook
Version: 0.1.0
Summary: A collection of widgets, tools and games for using along
the Qiskit Textbook. See the textbook and a list of contributors at qiskit.org/textbook
Home-page: UNKNOWN
Author: Qiskit Team
Author-email: hello@qiskit.org
License: UNKNOWN
Location: /usr/local/anaconda3/lib/python3.7/site-packages
Requires: ipython, matplotlib, numpy, qiskit, ipywidgets
Required-by: 从这里我可以看到我的包安装在/usr/local/anaconda3/lib/python3.7/site-packages上。
如果您想下载木星笔记本(即教科书的页),您可以从Github页面下载。有一个绿色的大按钮标签为“代码”,如果你点击它,你可以得到链接,以克隆它通过git,或.zip。所有页面都在"content“文件夹中。
https://stackoverflow.com/questions/67448011
复制相似问题