********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
E:\Anaconda3\envs\yolo_obb\lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
running egg_info
writing nms_rotated.egg-info\PKG-INFO
writing dependency_links to nms_rotated.egg-info\dependency_links.txt
writing top-level names to nms_rotated.egg-info\top_level.txt
reading manifest file 'nms_rotated.egg-info\SOURCES.txt'
writing manifest file 'nms_rotated.egg-info\SOURCES.txt'
running build_ext
building '.nms_rotated_ext' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
您好,拜托您百忙之中看了我这个问题,看了所有提问都没人问这个: 我的CUDA驱动版本是11.6,安装的是11.3,pytorch=1.10.1,确认过环境没什么问题,前面一切顺利,就在执行下面命令的时候出了问题。
以下是输入python setup.py develop后的输出和报错信息: (yolo_obb) D:\Python_OD_project\yolov5_obb-master\utils\nms_rotated>python setup.py develop running develop E:\Anaconda3\envs\yolo_obb\lib\site-packages\setuptools\command\develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !!
!! easy_install.initialize_options(self) E:\Anaconda3\envs\yolo_obb\lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!
!! self.initialize_options() running egg_info writing nms_rotated.egg-info\PKG-INFO writing dependency_links to nms_rotated.egg-info\dependency_links.txt writing top-level names to nms_rotated.egg-info\top_level.txt reading manifest file 'nms_rotated.egg-info\SOURCES.txt' writing manifest file 'nms_rotated.egg-info\SOURCES.txt' running build_ext building '.nms_rotated_ext' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/