hanchiang / market-data-notification

Retrieve and send stocks and crypto market data to telegram. Infra: https://github.com/hanchiang/market-data-notification-infra. Stocks: https://t.me/+6RjlDOi8OyxkOGU1. Crypto: https://t.me/+geTqFk8RktA2YzA9. Blog post: https://www.yaphc.com/stocks-notification-tradingview-webhook-to-telegram
https://t.me/+6RjlDOi8OyxkOGU1
2 stars 1 forks source link

i can't install it #53

Open qq020608 opened 1 year ago

qq020608 commented 1 year ago

i can't install it , can you help me ?

without docker :

root@localhost:~/market-data-notification# poetry install
The currently activated Python version 3.9.2 is not supported by the project (>=3.10.0,<3.11.0).
Trying to find and use a compatible version.
Using python3 (3.10.12)
Installing dependencies from lock file

Package operations: 1 install, 0 updates, 0 removals

  • Installing market-data-library (0.1.0 078487d): Failed

  HangupException

  The remote server unexpectedly closed the connection.

  at ~/.local/share/pypoetry/venv/lib/python3.9/site-packages/dulwich/protocol.py:215 in read_pkt_line
      211│
      212│         try:
      213│             sizestr = read(4)
      214│             if not sizestr:
    → 215│                 raise HangupException()
      216│             size = int(sizestr, 16)
      217│             if size == 0:
      218│                 if self.report_activity:
      219│                     self.report_activity(4, "read")

The following error occurred when trying to handle this error:

  HangupException

  git@github.com: Permission denied (publickey).

  at ~/.local/share/pypoetry/venv/lib/python3.9/site-packages/dulwich/client.py:1102 in fetch_pack
      1098│         with proto:
      1099│             try:
      1100│                 refs, server_capabilities = read_pkt_refs(proto.read_pkt_seq())
      1101│             except HangupException as exc:
    → 1102│                 raise _remote_error_from_stderr(stderr) from exc
      1103│             (
      1104│                 negotiated_capabilities,
      1105│                 symrefs,
      1106│                 agent,

with docker :


root@localhost:~/market-data-notification# docker-compose up -d
[+] Building 0.0s (0/0)                                             docker:default
WARN[0000] secrets `uid`, `gid` and `mode` are not supported by BuildKit, they will be ignored
failed to stat /root/market-data-notification/secret/id_rsa: stat /root/market-data-notification/secret/id_rsa: no such file or directory
root@localhost:~/market-data-notification#
hanchiang commented 1 year ago

Hi, this is because python is trying to install market_data_library, which is currently not public.