Skip to content

Error when run on linux mint 21.3 #5

@ahmedvolks

Description

@ahmedvolks

Hello,
I have made, as shown below:

$ git clone https://github.com/keithorange/PatternPy

Cloning into 'PatternPy'... remote: Enumerating objects: 53, done. remote: Counting objects: 100% (53/53), done. remote: compressing objects: 100% (47/47), done. remote: Total 53 (delta 16), reused 5 (delta 2), pack-reused 0 Receiving objects: 100% (53/53), 400.43 KiB | 775.00 KiB/s, done. Resolving deltas: 100% (16/16), done.

touch PatternPy.py
chmod +x PatternPy.py
nano PatternPy.py
Paste the usage code

When I hit the command:
./PatternPy.py

I see this error:

./PatternPy.py
./PatternPy.py: line 1: from: command not found
./PatternPy.py: line 4: syntax error near unexpected token (' ./PatternPy.py: line 4: df = pd.Dataframe(stock_data)'

Please help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions