Lumiwealth / quantstats_lumi

Apache License 2.0
83 stars 27 forks source link

Dependency conflicts when installing quantstats-lumi in Google Colab #35

Open iNANOV opened 4 months ago

iNANOV commented 4 months ago

When attempting to install the quantstats-lumi package in Google Colab using the command !pip install quantstats-lumi, the following errors and warnings are produced due to dependency conflicts:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
cudf-cu12 24.4.1 requires pandas<2.2.2dev0,>=2.0, but you have pandas 2.2.2 which is incompatible.
google-colab 1.0.0 requires ipython==7.34.0, but you have ipython 8.24.0 which is incompatible.
google-colab 1.0.0 requires pandas==2.0.3, but you have pandas 2.2.2 which is incompatible.
Successfully installed asttokens-2.4.1 executing-2.0.1 ipython-8.24.0 jedi-0.19.1 numpy-1.26.4 pandas-2.2.2 pure-eval-0.2.2 quantstats-lumi-0.3.0 seaborn-0.13.2 stack-data-0.6.3 traitlets-5.14.3

WARNING: Upgrading ipython, ipykernel, tornado, prompt-toolkit, pyzmq can
cause your runtime to repeatedly crash or behave in unexpected ways and is not
recommended. If your runtime won't connect or execute code, you can reset it
with "Disconnect and delete runtime" from the "Runtime" menu.

WARNING: The following packages were previously imported in this runtime:
  [IPython]
You must restart the runtime in order to use newly installed versions.

Steps to Reproduce:

  1. Open a new Google Colab notebook.
  2. Run the command !pip install quantstats-lumi.

Expected Behavior:

The quantstats-lumi package should be installed without causing dependency conflicts or warnings.

Actual Behavior:

The installation produces errors and warnings related to dependency conflicts, specifically with the pandas and ipython packages required by cudf-cu12 and google-colab.

Additional Information:

Suggested Solution:

Please provide guidance on how to resolve these dependency conflicts or consider updating the package dependencies to be compatible with the requirements of cudf-cu12 and google-colab.

Thank you for your assistance.