-
Notifications
You must be signed in to change notification settings - Fork 24
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
Problem when try to install mmcv #25
Comments
My current packages are: packages in environment at /home/dmaureira/anaconda3: Name Version Build Channel Any idea about how to solve the problem? Thanks in advance! |
Hi, i have the next error when i try to install mmcv following the instructions of the github:
MMCV_WITH_OPS=1 pip install -e .
Obtaining file:///home/dmaureira/PyCenterNet/code/mmcv
Preparing metadata (setup.py) ... done
Requirement already satisfied: addict in /home/dmaureira/anaconda3/lib/python3.9/site-packages (from mmcv-full==1.3.9) (2.4.0)
Requirement already satisfied: numpy in /home/dmaureira/anaconda3/lib/python3.9/site-packages (from mmcv-full==1.3.9) (1.21.5)
Requirement already satisfied: Pillow in /home/dmaureira/anaconda3/lib/python3.9/site-packages (from mmcv-full==1.3.9) (9.2.0)
Requirement already satisfied: pyyaml in /home/dmaureira/anaconda3/lib/python3.9/site-packages (from mmcv-full==1.3.9) (6.0)
Requirement already satisfied: yapf in /home/dmaureira/anaconda3/lib/python3.9/site-packages (from mmcv-full==1.3.9) (0.31.0)
Installing collected packages: mmcv-full
Attempting uninstall: mmcv-full
Found existing installation: mmcv-full 1.3.9
Uninstalling mmcv-full-1.3.9:
Successfully uninstalled mmcv-full-1.3.9
Running setup.py develop for mmcv-full
error: subprocess-exited-with-error
Rolling back uninstall of mmcv-full
Moving to /home/dmaureira/anaconda3/lib/python3.9/site-packages/mmcv-full.egg-link
from /tmp/pip-uninstall-7qr0h_v6/mmcv-full.egg-link
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [77 lines of output]
/home/dmaureira/anaconda3/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running develop
/home/dmaureira/anaconda3/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/home/dmaureira/anaconda3/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running egg_info
writing mmcv_full.egg-info/PKG-INFO
writing dependency_links to mmcv_full.egg-info/dependency_links.txt
writing requirements to mmcv_full.egg-info/requires.txt
writing top-level names to mmcv_full.egg-info/top_level.txt
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py:411: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
reading manifest file 'mmcv_full.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'LICENSES.md'
writing manifest file 'mmcv_full.egg-info/SOURCES.txt'
running build_ext
building 'mmcv.ext' extension
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/mmcv
creating build/temp.linux-x86_64-cpython-39/mmcv/ops
creating build/temp.linux-x86_64-cpython-39/mmcv/ops/csrc
creating build/temp.linux-x86_64-cpython-39/mmcv/ops/csrc/pytorch
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/bbox_overlaps.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/bbox_overlaps.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/bbox_overlaps_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/bbox_overlaps_cuda.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS_ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered: