Giter VIP home page Giter VIP logo

Comments (6)

hellmersjl3ds avatar hellmersjl3ds commented on August 18, 2024

I don't know if this is the "right way" to resolve this issue or not, but I usually use a Qconfig.py from my qiskit-sdk-py folder. If you don't have that file, you'll need modify Qconfig.py.default from the qiskit-sdk-py repository with your API Token from the Quantum Experience and copy as Qconfig.py to your qiskit-tutorial folder.

It seems like there should be a better way to do this, but that's how I do it.

from qiskit-tutorials.

diego-plan9 avatar diego-plan9 commented on August 18, 2024

@AshleyZhao, do you have a Qconfig.py on the root folder of your repository? After reading the description of the issue, I'm still not sure it is the case - as @hellmersjl3ds mentioned, the right way is indeed to create a Qconfig.py file that contains your details from Quantum Experience. Could you please check step 4 of https://github.com/QISKit/qiskit-tutorial#1-install-the-qiskit-sdk ?

Already added these code following the Readme before the cell where the error occurs:

As a side note, the README assumes the commands are executed in a regular prompt (ie. not inside a notebook) unless otherwise noted - this way you do not need to modify the notebooks themselves, and reduces the chances of running into permission issues as the one you described. If the problems persists, could you try running the installation steps on a shell?

from qiskit-tutorials.

rraymondhp avatar rraymondhp commented on August 18, 2024

Hi,
I have added the steps to install Qconfig.py here:
https://github.com/QISKit/qiskit-tutorial/blob/stable/README.rst

Also, you can find an example of the config file here:
https://github.com/QISKit/qiskit-tutorial/blob/stable/1_introduction/example_Qconfig.py

Hope this helps.

from qiskit-tutorials.

 avatar commented on August 18, 2024

I am working in Anaconda in spyder editor .
Can anyone tell me how to install qiskit in spyder?

from qiskit-tutorials.

quantumjim avatar quantumjim commented on August 18, 2024

Thanks for your question. Someone will be happy to help, but it will be best to take your query to either the Qiskit Slack or the Quantum Computing Stack Exchange.

from qiskit-tutorials.

 avatar commented on August 18, 2024

from qiskit-tutorials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.