Skip to content

Package it as an exe using pyinstaller, and starting the exe will continuously create processes until the memory is exhausted #570

@wesley15151409100-code

Description

@wesley15151409100-code

Question

issue:
I use the simplest example, which is packaged using pyinstaller. The packaged exe executable file, when clicked to run, will continuously create processes until the memory runs out and the machine freezes

environment:
windows 10
python 3.8
charts latest version

Pyinstaller command:
pyinstaller -F -p D:\python_project\tradingview_backtest\Lib\site-packages -w test.py

Code example

code demoimport pandas as pd
from lightweight_charts import Chart

if __name__ == '__main__':
    chart = Chart()

    df = pd.read_csv('ohlcv.csv')
    chart.set(df)

    chart.show(block=True)

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