shors-python icon indicating copy to clipboard operation
shors-python copied to clipboard

Trouble running shors

Open vlivescu opened this issue 5 years ago • 2 comments

Hi,

I downloaded the shors-python code to help my son with a school project. Having trouble running it. We are using Python 3.7, also tried Anaconda and we get a message that there is no argument N. What advice you have for us? Thank you much!

vlivescu avatar Nov 25 '18 18:11 vlivescu

Program needs you to pass int(N) to factor as last argument. For example:

$ python3 shors.py N

Take a look at readme to configure.

avhn avatar Nov 25 '18 20:11 avhn

Hi,

I downloaded the shors-python code to help my son with a school project. Having trouble running it. We are using Python 3.7, also tried Anaconda and we get a message that there is no argument N. What advice you have for us? Thank you much!

If the N number is too large then the program fails silently, I ran in to the same confusion. To test that the script works, you can run: python3 shors.py 15

amritabithi avatar May 17 '23 09:05 amritabithi