Skip to content

Error when install python package and Pytorch #296

@imnotwannafire

Description

@imnotwannafire

Hi,
When I run command !. ./scripts/setup_colab.sh on current google colab. Some packages cannot be installed with following log
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. ipython 7.34.0 requires jedi>=0.16, which is not installed. google-colab 1.0.0 requires requests==2.32.3, but you have requests 2.28.2 which is incompatible. pymc 5.25.1 requires rich>=13.7.1, but you have rich 13.4.2 which is incompatible. dataproc-spark-connect 0.8.3 requires tqdm>=4.67, but you have tqdm 4.65.2 which is incompatible. opencv-contrib-python 4.12.0.88 requires numpy<2.3.0,>=2; python_version >= "3.9", but you have numpy 1.26.4 which is incompatible. pytensor 2.31.7 requires filelock>=3.15, but you have filelock 3.14.0 which is incompatible. sphinx 8.2.3 requires requests>=2.30.0, but you have requests 2.28.2 which is incompatible. yfinance 0.2.65 requires requests>=2.31, but you have requests 2.28.2 which is incompatible. datasets 4.0.0 requires requests>=2.32.2, but you have requests 2.28.2 which is incompatible. datasets 4.0.0 requires tqdm>=4.66.3, but you have tqdm 4.65.2 which is incompatible. thinc 8.3.6 requires numpy<3.0.0,>=2.0.0, but you have numpy 1.26.4 which is incompatible.

When running train command, it automatically disable Pytorch.
Disabling PyTorch because PyTorch >= 2.1 is required but found 2.0.0

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions