You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
When trying to run the integer-factorization mybinder notebook, the from Microsoft.Quantum.Samples.IntegerFactorization import FactorSemiprimeInteger in the first cell gives a ModuleNotFoundError: No module named 'Microsoft' error.
right after import iqsharp. It looks like Python cannot discover the Microsoft.Quantum.Numerics NuGet package when building Q# code? I think Ryan added automatic package load on startup back in fall 2020, which removed the need to do qsharp.packages.add manually.
@cgranade@anjbur Were there any recent changes to the way IQ# discovers NuGet packages that could cause this?
The failure on the first cell should be fixed now with #705.
However, we still won't get a result by running this sample on Binder as is, since host.py assumes it's running from the command line rather than as a Jupyter Notebook, and Binder passes it some arguments that are not recognized, so it throws the following error:
Thanks for the report! In general, not all of our CLI-style samples have been converted to notebooks yet; will mark this as an enhancement to track that suggestion.
When trying to run the integer-factorization mybinder notebook, the
from Microsoft.Quantum.Samples.IntegerFactorization import FactorSemiprimeInteger
in the first cell gives aModuleNotFoundError: No module named 'Microsoft'
error.To reproduce this error:
I'm running this using Edge V102 on Windows 11.
Screenshot is attached.
The text was updated successfully, but these errors were encountered: