dependency
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. onnxruntime 1.13.1 requires numpy>=1.21.6, but you have numpy 1.19.5 which is incompatible. pytorch-lightning 1.7.7 requires torch>=1.9.*, but you have torch 1.8.1 which is incompatible. tensorflow 1.15.5 requires numpy<1.19.0,>=1.16.0, but you have numpy 1.19.5 which is incompatible. tensorflow 1.15.5 requires tensorboard<1.16.0,>=1.15.0, but you have tensorboard 2.11.0 which is incompatible. torchaudio 0.11.0+cpu requires torch==1.11.0, but you have torch 1.8.1 which is incompatible. torchvision 0.12.0+cpu requires torch==1.11.0, but you have torch 1.8.1 which is incompatible. xtcocotools 1.12 requires numpy>=1.20.0; python_version >= "3.7", but you have numpy 1.19.5 which is incompatible. Successfully installed numpy-1.19.5
DEPRECATION: pytorch-lightning 1.7.7 has a non-standard dependency specifier torch>=1.9.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of pytorch-lightning or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: numpy, xedu-python
Attempting uninstall: numpy
Found existing installation: numpy 1.18.5
Uninstalling numpy-1.18.5:
Successfully uninstalled numpy-1.18.5
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.
pytorch-lightning 1.7.7 requires torch>=1.9.*, but you have torch 1.8.1 which is incompatible.
tensorflow 1.15.5 requires numpy<1.19.0,>=1.16.0, but you have numpy 1.21.6 which is incompatible.
tensorflow 1.15.5 requires tensorboard<1.16.0,>=1.15.0, but you have tensorboard 2.11.0 which is incompatible.
torchaudio 0.11.0+cpu requires torch==1.11.0, but you have torch 1.8.1 which is incompatible.
torchvision 0.12.0+cpu requires torch==1.11.0, but you have torch 1.8.1 which is incompatible.
Successfully installed numpy-1.21.6 xedu-python-0.2.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Installing collected packages: torch
Attempting uninstall: torch
Found existing installation: torch 1.8.1
Uninstalling torch-1.8.1:
Successfully uninstalled torch-1.8.1
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.
mmedu 0.1.28 requires mmcls==0.20.0, but you have mmcls 0.24.1 which is incompatible.
mmedu 0.1.28 requires mmcv-full==1.4.5, but you have mmcv-full 1.7.0 which is incompatible.
mmedu 0.1.28 requires mmdet==2.23.0, but you have mmdet 2.25.3 which is incompatible.
mmedu 0.1.28 requires torch==1.8.1, but you have torch 1.9.0 which is incompatible.
mmedu 0.1.28 requires torchvision==0.9.1, but you have torchvision 0.12.0+cpu which is incompatible.
torchaudio 0.11.0+cpu requires torch==1.11.0, but you have torch 1.9.0 which is incompatible.
torchvision 0.12.0+cpu requires torch==1.11.0, but you have torch 1.9.0 which is incompatible.
Successfully installed torch-1.9.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Note: you may need to restart the kernel to use updated packages.
File "/tmp/ipykernel_16173/574268934.py", line 1
python -m venv myenv
^
SyntaxError: invalid syntax
Looking in indexes: https://mirrors.cloud.aliyuncs.com/pypi/simple/ Collecting torch==1.11.0 Downloading https://mirrors.cloud.aliyuncs.com/pypi/packages/94/32/96a0955e5d6ed8a837eda5ca095dd2694c4617cfa70ca599660cd5ff7447/torch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl (750.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━━━━ 591.6/750.6 MB 9.3 MB/s eta 0:00:18
Looking in indexes: https://mirrors.cloud.aliyuncs.com/pypi/simple/ Collecting torch==1.11.0 Downloading https://mirrors.cloud.aliyuncs.com/pypi/packages/94/32/96a0955e5d6ed8a837eda5ca095dd2694c4617cfa70ca599660cd5ff7447/torch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl (750.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 750.6/750.6 MB 3.0 MB/s eta 0:00:0000:0100:03 Requirement already satisfied: torchaudio==0.11.0+cpu in /opt/conda/lib/python3.7/site-packages (0.11.0+cpu) Requirement already satisfied: torchvision==0.12.0+cpu in /opt/conda/lib/python3.7/site-packages (0.12.0+cpu) Requirement already satisfied: typing-extensions in /opt/conda/lib/python3.7/site-packages (from torch==1.11.0) (4.1.1) Requirement already satisfied: numpy in /opt/conda/lib/python3.7/site-packages (from torchvision==0.12.0+cpu) (1.19.5) Requirement already satisfied: requests in /opt/conda/lib/python3.7/site-packages (from torchvision==0.12.0+cpu) (2.27.1) Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/conda/lib/python3.7/site-packages (from torchvision==0.12.0+cpu) (9.3.0) ERROR: Could not install packages due to an OSError: [Errno 2] 没有那个文件或目录: '/opt/conda/lib/python3.7/site-packages/numpy-1.19.5.dist-info/METADATA' Note: you may need to restart the kernel to use updated packages.
Looking in indexes: https://mirrors.cloud.aliyuncs.com/pypi/simple/ Collecting numpy==1.19.5 Using cached https://mirrors.cloud.aliyuncs.com/pypi/packages/08/d6/a6aaa29fea945bc6c61d11f6e0697b325ff7446de5ffd62c2fa02f627048/numpy-1.19.5-cp37-cp37m-manylinux2010_x86_64.whl (14.8 MB) DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063 DEPRECATION: pytorch-lightning 1.7.7 has a non-standard dependency specifier torch>=1.9.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of pytorch-lightning or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063 Installing collected packages: numpy Attempting uninstall: numpy Found existing installation: numpy 1.21.6 Uninstalling numpy-1.21.6: Successfully uninstalled numpy-1.21.6 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. onnxruntime 1.13.1 requires numpy>=1.21.6, but you have numpy 1.19.5 which is incompatible. tensorflow 1.15.5 requires numpy<1.19.0,>=1.16.0, but you have numpy 1.19.5 which is incompatible. tensorflow 1.15.5 requires tensorboard<1.16.0,>=1.15.0, but you have tensorboard 2.11.0 which is incompatible. torchvision 0.12.0+cpu requires torch==1.11.0, but you have torch 1.9.0 which is incompatible. xtcocotools 1.12 requires numpy>=1.20.0; python_version >= "3.7", but you have numpy 1.19.5 which is incompatible. Successfully installed numpy-1.19.5 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Note: you may need to restart the kernel to use updated packages.