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

error in protlib setup command use_2to3 is invalid #55

Open pannet1 opened 1 year ago

pannet1 commented 1 year ago

i added the following to my requirements.txt file

setuptools<58.0.0
protlib<1.5.0

in order to install alphatrade

nevatia commented 1 year ago

pip install setuptools==57.5.0 May not need to touch protlib version

pannet1 commented 1 year ago

oh god, thank you. unfortunately, i changed the protlib library exception handling in many places to support latest python.

algo2t commented 1 year ago

Help wanted on removal of protlib from alphatrade

pannet1 commented 1 year ago

Help wanted on removal of protlib from alphatrade

sir, this is far beyond my capabilities i guess.

rajindersingh041 commented 12 months ago

Using setuptools < 58, protlib 1.5 didn't install for python 3.11.3 due to "error in protlib setup command: use_2to3 is invalid."

I installed protlib 1.4 but then also it raise syntax issues in protlib

image

nevatia commented 12 months ago

Library modified but try and update us pip install setuptools==57.5.0 Then pip install protlib

nevatia commented 12 months ago

Help wanted on removal of protlib from alphatrade

@algo2t please update requirements.txt with adding setuptools==57.5.0

rajindersingh041 commented 11 months ago

Worked well, did install in venv. But websocket doesn't work. Just ran example for streaming data