Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iNANOV opened this issue May 29, 2024 · 0 comments
Open

Comments

@iNANOV
Copy link

iNANOV commented May 29, 2024

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:

  • cudf-cu12 requires pandas<2.2.2dev0,>=2.0.
  • google-colab requires ipython==7.34.0 and pandas==2.0.3.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant