BitMEX / api-connectors

Libraries for connecting to the BitMEX API.
https://www.bitmex.com/app/restAPI
909 stars 797 forks source link

How to install on python 3? #33

Closed matthewli1409 closed 6 years ago

matthewli1409 commented 6 years ago

Hi,

What command do I use to install swagger_client? I have tried pip install swagger_client and it does not work.

Thanks

STRML commented 6 years ago

You probably want this README: https://github.com/BitMEX/api-connectors/tree/498fa7443a0cb3fb46b2bdb3befb8cdebd4164d7/official-http/python-swaggerpy

pangjonny commented 6 years ago

Try setup tools instead Go to the directory where you have setup.py and then python setup.py install then import swagger_client

ryanfox commented 6 years ago

You can now pip install bitmex as well.