OpenBB-finance / OpenBB

Investment Research for Everyone, Everywhere.
https://openbb.co
Other
34.2k stars 3.14k forks source link

[Bug] openBB SDK fail to be installled in google colab environment #4455

Closed Wintoplay closed 1 year ago

Wintoplay commented 1 year ago

I am new to this OpenBB and just try to use it in google colab. It say "AttributeError: module 'numpy' has no attribute 'asscalar'" as soon as I try to import the module via from openbb_terminal.sdk import openbb.

To Reproduce run this colab to reproduce the error https://colab.research.google.com/drive/1g44TB7E-CJB3mSkUDAZn-SX4in_cJpCX?usp=sharing

Screenshots image

Python 3.9.16

deeleeramone commented 1 year ago

This is probably more to do with Google CoLab forcing a dependency tree that is not the same as the OpenBB requirements file. Python 3.8 is also becoming increasingly unsupported by many libraries.

colin99d commented 1 year ago

Hello @Wintoplay. Thank you for this issue! We currently do not officially support Google Colab, however the following resources may be helpful in getting it to work (if you get it to work we would LOVE to hear how):

I have no clue whether this will work. But I would love to hear how it goes!