question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error installing iqsharp kernel

See original GitHub issue

I’m trying to follow the guidelines mentioned in https://docs.microsoft.com/en-us/quantum/install-guide/python?view=qsharp-preview to install the iqsharp kernel, but I get a No executable found matching command "dotnet-install" when installing it (using dotnet iqsharp install).

ayush99@ayush99:~/quant$ dotnet tool install -g Microsoft.Quantum.IQSharp
Tool 'microsoft.quantum.iqsharp' is already installed.
ayush99@ayush99:~/quant$ dotnet install iqsharp
No executable found matching command "dotnet-install"

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:22 (9 by maintainers)

github_iconTop GitHub Comments

8reactions
anpazcommented, Apr 25, 2019

@tirdtoon @ayush1999 @desireevl if dotnet-iqsharp works, as a workaround you should be able to run this command to install the kernel:

dotnet-iqsharp install --user --path-to-tool="$(which dotnet-iqsharp)"

Optionally, if there is a Dockerfile in our samples repository that you can use to create a Docker image and get you started. The image is setup you can run Q# from C#/Python/Jupyter.

3reactions
chopinvancommented, May 29, 2019

I’m trying to follow the guidelines mentioned in https://docs.microsoft.com/en-us/quantum/install-guide/python?view=qsharp-preview to install the iqsharp kernel, but I get a No executable found matching command "dotnet-install" when installing it (using dotnet iqsharp install).

ayush99@ayush99:~/quant$ dotnet tool install -g Microsoft.Quantum.IQSharp
Tool 'microsoft.quantum.iqsharp' is already installed.
ayush99@ayush99:~/quant$ dotnet install iqsharp
No executable found matching command "dotnet-install"

Use this

dotnet iqsharp install --user

Because Jupyter can not run under Sudo mode, but without sudo mode you can not write into Jupyter notebook directory. So, you need to make file writing local

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Jupyter Notebook not finding IQSharp
1 Answer 1 · First, make sure iqsharp is installed. Run dotnet iqsharp --version to ensure that the tool exists. · Then run...
Read more >
Problems with Q# installing
Go to Pycharm or VS Code and in console do write this command pip install qsharp . It works well.
Read more >
Set up the Quantum Development Kit - Azure Quantum
Install IQ#, a kernel used by Jupyter and Python that provides the core functionality for compiling and running Q# operations. If you encounter ......
Read more >
Iqsharp
To install this package run one of the following: conda install -c quantum-engineering iqsharp conda install -c "quantum-engineering/label/beta" iqsharp ...
Read more >
IQ# support - ☁️ Streamlit Community Cloud
Hi all, I wanted to deploy an Streamlit app that is using qsharp (Q#) , a quantum computing framework by Microsoft.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found