"import: command not found" running Python script
<p>I am a beginner without much knowledge of coding.
I am attempting to run the following python script... <a href="https://github.com/Sdocquir/moneyonbots/blob/master/shopify3/shopify3.py" rel="nofollow">https://github.com/Sdocquir/moneyonbots/blob/master/shopify3/shopify3.py</a></p>

<p>When doing so I receive the following message</p>

<pre class="lang-none prettyprint-override"><code>/Users/xxx/Downloads/moneyonbots-master/shopify3/shopify3.py: line 1: __author__: command not found
/Users/xxx/Downloads/moneyonbots-master/shopify3/shopify3.py: line 3: import: command not found
/Users/xxx/Downloads/moneyonbots-master/shopify3/shopify3.py: line 4: import: command not found
/Users/xxx/Downloads/moneyonbots-master/shopify3/shopify3.py: line 5: import: command not found
/Users/xxx/Downloads/moneyonbots-master/shopify3/shopify3.py: line 6: import: command not found
/Users/xxx/Downloads/moneyonbots-master/shopify3/shopify3.py: line 7: import: command not found
/Users/xxx/Downloads/moneyonbots-master/shopify3/shopify3.py: line 8: import: command not found
from: can't read /var/mail/lxml
from: can't read /var/mail/selenium
from: can't read /var/mail/requests.adapters
/Users/xxx/Downloads/moneyonbots-master/shopify3/shopify3.py: line 15: syntax error near unexpected token `('
/Users/xxx/Downloads/moneyonbots-master/shopify3/shopify3.py: line 15: modes = [('Gift Card', 1), ('Credit Card', 2), ('Paypal', 3)]'
</code></pre>

<p>In the beginning of the script it says...</p>

<pre><code>import requests
import sys, traceback
import re
import arrow
import time
import Tkinter as tk
from lxml import html
from selenium import webdriver
from requests.adapters import HTTPAdapter
</code></pre>

<p>Do I need to install other libraries to run the script?  What are the commands to install these?
I am using mac OSX.
Thank you.</p>

<p>ENTIRE SCRIPT: <a href="https://github.com/Sdocquir/moneyonbots" rel="nofollow">https://github.com/Sdocquir/moneyonbots</a></p>