Skip to content

Commit

Permalink
README: adding note about PyInstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Jul 9, 2024
1 parent 0b137e8 commit 54019f7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,24 @@ And then re-run configure:
$ ./configure
```

---

If you're having trouble using [PyInstaller](https://pyinstaller.org) and
get an error that looks like this:

```
...site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
exec(bytecode, module.__dict__)
File "talib\__init__.py", line 72, in <module>
ModuleNotFoundError: No module named 'talib.stream'
```

Then, perhaps you can use the ``--hidden-import`` argument to fix this:

```
$ pyinstaller --hidden-import talib.stream "replaceToYourFileName.py"
```

## Function API

Similar to TA-Lib, the Function API provides a lightweight wrapper of the
Expand Down

0 comments on commit 54019f7

Please sign in to comment.