Open Jer-lin opened 3 weeks ago
This may happen because you haven't ran the from qc_grader.challenges.iqc_2024 import grade_lab0_ex1
block yet and therefore the command is not defined in the code. Run first the "### Imports"code block, right below the token code block, to make sure that command is defined. In case you have more definition errors, run first all the blocks above the grader one to make sure everything is defined.
You can do this just by clicking all the way in the first block where it says "### INSTALL QISKIT: Cloud-based environment ###" and then keep on running all the block by pressing shift+enter or just go to each code blocks and run them one by one.
Hope this helps!
I got a git-problem installing notebook0 in my Anaconda PC envitonment with pip install git+https://github.com/qiskit-community/Quantum-Challenge-Grader.git error: Running command git clone --filter=blob:none --quiet https://github.com/qiskit-community/Quantum-Challenge-Grader.git 'C:\Users\EHoll\AppData\Local\Temp\pip-req-build-0xz2229z' It's the only problem Does someone know what to do?
I could face the same problem
On Thu, Jun 6, 2024, 2:21 PM E-HOLL @.***> wrote:
I got a git-problem installing notebook0 in my Anaconda PC envitonment with pip install git+ https://github.com/qiskit-community/Quantum-Challenge-Grader.git error: Running command git clone --filter=blob:none --quiet https://github.com/qiskit-community/Quantum-Challenge-Grader.git 'C:\Users\EHoll\AppData\Local\Temp\pip-req-build-0xz2229z' It's the only problem Does someone know what to do?
— Reply to this email directly, view it on GitHub https://github.com/qiskit-community/ibm-quantum-challenge-2024/issues/4#issuecomment-2151753201, or unsubscribe https://github.com/notifications/unsubscribe-auth/BI7OFQ3Q4GZ3YKCVGK6UTVLZGAPIVAVCNFSM6AAAAABI337NS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJRG42TGMRQGE . You are receiving this because you authored the thread.Message ID: @.*** com>
The grader installation fails in older versions of python (for me, I had python 3.8) due to failing in installing "networkx". I updated my python to version 3.12.3 and the issue was resolved.
Hey I am trying to run lab_0 on Google colab, and ran into this error:
ModuleNotFoundError Traceback (most recent call last)
1 frames
/usr/local/lib/python3.10/dist-packages/qc_grader/challenges/iqc_2024/lab3.py in
ModuleNotFoundError: No module named 'qiskit_serverless'
Thank you for your guidance 😊 so no more errors... But I'm stucking in lab 1
On Fri, Jun 7, 2024, 5:40 PM vivek sinha @.***> wrote:
Hey I am trying to run lab_0 on Google colab, and ran into this error: ModuleNotFoundError Traceback (most recent call last) https://localhost:8080/# in <cell line: 8>() 6 from qiskit_aer import AerSimulator 7 import matplotlib.pyplot as plt ----> 8 from qc_grader.challenges.iqc_2024 import grade_lab0_ex1
1 frames
/usr/local/lib/python3.10/dist-packages/qc_grader/challenges/iqc_2024/lab3.py https://localhost:8080/# in 4 5 from qiskit import QuantumCircuit ----> 6 from qiskit_serverless.core.function import QiskitFunction 7 from qiskit import QuantumCircuit 8 from qiskit_serverless.core.job import Job
ModuleNotFoundError: No module named 'qiskit_serverless'
— Reply to this email directly, view it on GitHub https://github.com/qiskit-community/ibm-quantum-challenge-2024/issues/4#issuecomment-2154706647, or unsubscribe https://github.com/notifications/unsubscribe-auth/BI7OFQ7Y343TL7J4OZY6O7LZGGPLPAVCNFSM6AAAAABI337NS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJUG4YDMNRUG4 . You are receiving this because you authored the thread.Message ID: @.*** com>
Although I couldn't run "from qc_grader.challenges.iqc_2024 import grade_lab0_ex1", in my case I solved the problem by first running "!pip install qiskit-transpiler-service".
In Challenge 2024... I could fase some error while doing my exercise in qiskit which shows like "grade_lab0_ex1 is not defined".... Also I couldn't install version: 1.0 instead version 1.1 how should I upgrade it.(I'm a pretty beginner)