**Ps:下面操作对于Mac OS以及Windows OS均适用
cd E://
进入文件夹git clone
https://github.com/Qiskit/qiskit-metal.git
下载下来cd qiskit-metal
(E://qiskit-metal)conda env create -n ``<env_name>`` environment.yml
(env_name为自己定义的虚拟环境名字)conda activate ``<env_name>
python -m pip install -ve .
conda deactivate
conda env update -n ``<env_name>`` environment.yml
conda activate ``<env_name>
python -m pip install -ve .
pip install pyqode.python --upgrade
python setup.py install
pip install pyside2
pip install pyqode-qt
启动虚拟环境:conda activate <env_name>
conda install ipykernel
ipython kernel install --user --name=``<env_name>
启动即可:jupyter lab
/ jupyter notebook
import qisit_metal
不报错