algo2t / alphatrade

Python APIs for SAS Online Alpha Trade Web platform for creating algo trading using python
https://algo2t.github.io/alphatrade
MIT License
44 stars 22 forks source link

metadata-generation-failed issue #49

Open dasquantum2909 opened 1 year ago

dasquantum2909 commented 1 year ago

Describe the bug Running the command pip install alphatrade throws the following error "metadata-generation-failed issue". I tried with downloaded whl file as well. But it fails with same error message all the time.

To Reproduce Steps to reproduce the behavior:

  1. Run the command pip install alphatrade or download the whl from release and run with pip command
  2. See error--->
Collecting protlib
  Using cached protlib-1.5.0.tar.gz (32 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in protlib setup command: use_2to3 is invalid.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

Expected behavior It should run and install alphatrade

Screenshots

image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

nevatia commented 1 year ago

First Pip install setuptools==57.5.0 Then install alphatrade