Error in alpaca-trade-api-python

Installed alpaca-trade-api-python using pip3 and tried running one of the place order examples posted under the API documentation and got these errors:

File “alpaca-trade.py”, line 5
SECRET-KEY = “kJ/UM8hGCaDc7f86Hkf9YLAu66A0fiifdndaLwmf”
^
SyntaxError: can’t assign to operator
callie@DESKTOP-B3QDS5B:/mnt/c/Documents/codewall/Trading/Alpaca$ python3 neworders.py
Traceback (most recent call last):
File “neworders.py”, line 1, in
import alpaca_trade_api as tradeapi
File “/usr/local/lib/python3.6/site-packages/alpaca_trade_api/init.py”, line 1, in
from .rest import REST # noqa
File “/usr/local/lib/python3.6/site-packages/alpaca_trade_api/rest.py”, line 12, in
from .entity import (
File “/usr/local/lib/python3.6/site-packages/alpaca_trade_api/entity.py”, line 1, in
import pandas as pd
File “/usr/local/lib/python3.6/site-packages/pandas/init.py”, line 55, in
from pandas.core.api import (
File “/usr/local/lib/python3.6/site-packages/pandas/core/api.py”, line 24, in
from pandas.core.groupby import Grouper, NamedAgg
File “/usr/local/lib/python3.6/site-packages/pandas/core/groupby/init.py”, line 1, in
from pandas.core.groupby.generic import ( # noqa: F401
File “/usr/local/lib/python3.6/site-packages/pandas/core/groupby/generic.py”, line 44, in
from pandas.core.frame import DataFrame
File “/usr/local/lib/python3.6/site-packages/pandas/core/frame.py”, line 88, in
from pandas.core.generic import NDFrame, _shared_docs
File “/usr/local/lib/python3.6/site-packages/pandas/core/generic.py”, line 70, in
from pandas.io.formats.format import DataFrameFormatter, format_percentiles
File “/usr/local/lib/python3.6/site-packages/pandas/io/formats/format.py”, line 48, in
from pandas.io.common import _expand_user, _stringify_path
File “/usr/local/lib/python3.6/site-packages/pandas/io/common.py”, line 3, in
import bz2
File “/usr/local/lib/python3.6/bz2.py”, line 23, in
from _bz2 import BZ2Compressor, BZ2Decompressor
ModuleNotFoundError: No module named ‘_bz2’

I’m running Ubuntu 16.04

This if the file I’m running:

import alpaca_trade_api as tradeapi

not working

place new orders

api = tradeapi.REST()

Submit a market order to buy 1 share of Apple at market price

api.submit_order(
symbol=‘FELPU’,
qty=100,
side=‘buy’,
type=‘market’,
time_in_force=‘gtc’
)

Submit a limit order to attempt to sell 1 share of AMD at a

particular price ($20.50) when the market opens

api.submit_order(
symbol=‘AMD’,
qty=1,
side=‘sell’,
type=‘limit’,
time_in_force=‘opg’,
limit_price=20.50
)

use google youll find an answer