bowhead
bowhead copied to clipboard
Streaming.py gives an error regarding dotenv
Traceback (most recent call last):
File "streaming.py", line 90, in
Any idea of how to fix this? I have attempted on my Mac and on an Ubuntu VPS
I made this tons easier See the Docker section https://medium.com/@joeldg/an-advanced-tutorial-a-new-crypto-currency-trading-bot-boilerplate-framework-e777733607ae
Joel De Gan
On Thu, Jun 22, 2017 at 9:47 PM, Simon Brumfield [email protected] wrote:
Traceback (most recent call last): File "streaming.py", line 90, in main() File "streaming.py", line 86, in main demo(displayHeartbeat) File "streaming.py", line 56, in demo response = connect_to_stream() File "streaming.py", line 28, in connect_to_stream dotenv.load() AttributeError: 'module' object has no attribute 'load'
Any idea of how to fix this? I have attempted on my Mac and on an Ubuntu VPS
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joeldg/bowhead/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0MvEdOjux_OPPa_a9S-TFpL3dVxbtzks5sG0NGgaJpZM4ODIVe .
You probably installed the wrong dotenv for python. I had the same issue, it was resolved by uninstalling my previously installed dotenv and using this command (as described in the readme): pip install python-env.