open-mmlab / mmcv

OpenMMLab Computer Vision Foundation
https://mmcv.readthedocs.io/en/latest/
Apache License 2.0
5.84k stars 1.63k forks source link

[Bug] Using google colab. I can't "Building wheels for collected packages: mmcv-full" #3132

Open Godfreeyyy opened 3 months ago

Godfreeyyy commented 3 months ago

Prerequisite

Environment

python3.10.12 CUDA Version: 12.2

Reproduces the problem - code sample


!mim install mmcv-full
!git clone https://github.com/open-mmlab/mmsegmentation.git
%cd mmsegmentation
!git checkout 0.x
!pip install -v -e .
# "-v" means verbose, or more output
# "-e" means installing a project in editable mode,
# thus any local modifications made to the code will take effect without reinstallation.
%cd ../```

### Reproduces the problem - command or script

![image](https://github.com/open-mmlab/mmcv/assets/137705989/1d616d45-567b-42a2-9478-566cc824505f)

### Reproduces the problem - error message

```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.
cvxpy 1.3.4 requires setuptools>65.5.1, but you have setuptools 60.2.0 which is incompatible.
google-colab 1.0.0 requires requests==2.31.0, but you have requests 2.28.2 which is incompatible.
yfinance 0.2.40 requires requests>=2.31, but you have requests 2.28.2 which is incompatible.
Successfully installed aliyun-python-sdk-core-2.15.1 aliyun-python-sdk-kms-2.16.3 colorama-0.4.6 crcmod-1.7 jmespath-0.10.0 model-index-0.1.11 opendatalab-0.0.10 openmim-0.3.9 openxlab-0.1.0 ordered-set-4.1.0 oss2-2.17.0 pycryptodome-3.20.0 requests-2.28.2 rich-13.4.2 setuptools-60.2.0 tqdm-4.65.2 urllib3-1.26.18
WARNING: The following packages were previously imported in this runtime:
[_distutils_hack,pkg_resources,setuptools]
You must restart the runtime in order to use newly installed versions.```

### Additional information

Using google colab T4 and i cant install successfully mmcv-full when i install the same documentation of MMDetection 
Godfreeyyy commented 3 months ago

anyone help me :((( pls

Godfreeyyy commented 3 months ago

image

Godfreeyyy commented 3 months ago

@zhouzaida u know that??? pls help me br