OpenBB-finance / OpenBB

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

[Bug] Docker build error #6727

Open eugeneniemand opened 17 hours ago

eugeneniemand commented 17 hours ago

Describe the bug I followed the instructions on the docs to build the docker file and I get a build error

 => [builder 3/5] COPY ./openbb_platform ./openbb_platform                                                         0.5s
 => ERROR [builder 4/5] RUN pip install /openbb/openbb_platform[all]                                               6.6s
------
 > [builder 4/5] RUN pip install /openbb/openbb_platform[all]:
#13 1.523 Processing ./openbb_platform
...
...
...
#13 6.078 Collecting openbb-fmp<2.0.0,>=1.3.2 (from openbb==4.3.2)
#13 6.087   Downloading openbb_fmp-1.3.2-py3-none-any.whl.metadata (957 bytes)
#13 6.311 Collecting openbb-fred<2.0.0,>=1.3.2 (from openbb==4.3.2)
#13 6.321   Downloading openbb_fred-1.3.2-py3-none-any.whl.metadata (925 bytes)
#13 6.446 INFO: pip is looking at multiple versions of openbb to determine which version is compatible with other requirements. This could take a while.
#13 6.446 ERROR: Could not find a version that satisfies the requirement openbb-imf<2.0.0,>=1.0.0b (from openbb) (from versions: none)
#13 6.446 ERROR: No matching distribution found for openbb-imf<2.0.0,>=1.0.0b
#13 6.490
#13 6.490 [notice] A new release of pip is available: 24.0 -> 24.2
#13 6.490 [notice] To update, run: pip install --upgrade pip
------
executor failed running [/bin/sh -c pip install /openbb/openbb_platform[all]]: exit code: 1

To Reproduce Cloned the repo docker build -f build/docker/platform.dockerfile -t openbb-platform:latest .

Desktop (please complete the following information):

deeleeramone commented 15 hours ago

Hi, this is because a package is on the develop branch but is not published. If you use the main branch instead, this should get around that.