Skip to content

Commit

Permalink
Merge pull request #94 from rjra2611/bug-issue-#55-add-tkinter-as-req…
Browse files Browse the repository at this point in the history
…uirements

Bug issue #55 update docs to mention tkinter requirement
  • Loading branch information
Martin-Molinero authored May 25, 2022
2 parents 0d17f09 + 29d8e3e commit 677396a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@ The CLI can be installed and updated by running `pip install --upgrade lean`.

Note that many commands in the CLI require Docker to run. See [Get Docker](https://docs.docker.com/get-docker/) for instructions on how to install Docker for your operating system.

**Note:** Some Linux users may need to install `tkinter` using the following commands:

```
For Python 3
sudo apt-get install python3-tk
For Python 2.7
sudo apt-get install python-tk
```
After installing the CLI, open a terminal in an empty directory and run `lean init`. This command downloads the latest configuration file and sample data from the [QuantConnect/Lean](https://github.com/QuantConnect/Lean) repository. We recommend running all Lean CLI commands in the same directory `lean init` was ran in.

## Usage
Expand Down
2 changes: 1 addition & 1 deletion lean/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from pathlib import Path

json_modules = {}
file_name = "modules-1.1.json"
file_name = "modules-1.2.json"
dirname = os.path.dirname(__file__)
file_path = os.path.join(dirname, f'../{file_name}')

Expand Down

0 comments on commit 677396a

Please sign in to comment.