I'm trying to run a script given on a website to scrape hockey data for my first personal project (I'm new to programming and want to start my own project). It requires me to install python 3 and anaconda. After troubleshooting and installing it, I've gotten all the prerequisites install to run the script.
the way it should work is in terminal, from my understanding, you should be able to run "import hockey_scraper". Command not found.
First search shows me to use #!/usr/bin/env python3
% #!/usr/bin/env python3 import hockey_scraper
Now I get "zsh: event not found: /usr/bin/env"
Second search shows me bash, and possibly zsh do not see ! and has to be in double quotes.
% '#!/usr/bin/env python' > import hockey_scraper
zsh: no such file or directory: #!/usr/bin/env python
Now I'm confused on what I need to do, because I have python2.7 and 3.x installed, I can see both in python -V and python3 -V.
edit:
what I'm trying to use https://hockey-scraper.readthedocs.io/en/latest/#