algorithmic-trading-python icon indicating copy to clipboard operation
algorithmic-trading-python copied to clipboard

cannot download secret.py

Open albert780304 opened this issue 1 year ago • 1 comments

I cannot download secret.py when I clicked the link in the file. Would you fix it? Thanks

albert780304 avatar Jan 04 '24 23:01 albert780304

Here is what you would do:

  • [ ] git clone the repo
  • [ ] start up the starter file notebook using the generic python -m notebook
  • [ ] supposedly you are in project 0x01 of the tutorial as that is where I am currently am
  • [ ] scroll to the link where it was stated that you should download the secrets.py file
  • [ ] try it again and see if it will download

It worked for me and I hope it does too for you.

And if it is to work, move the file from your download section in your PC or wherever it is downloaded at and place it in the same folder as the practice files. You may likely encounter an error that I did which is numpy raising an error saying ImportError: cannot import name randbits. And this is about the secrets.py file having the naming convention of one of the dependencies numpy is using so you got to rename your secrets.py file to something like secrets1.py so as to make it to work.

Click here for the Stack Overflow solution

joethesaint avatar Jun 27 '24 15:06 joethesaint