ifzhang/ByteTrack

ERROR: setup.py develop fails

MichlF opened this issue · 2 comments

MichlF commented

Running this on the most recent versions of Windows 10 with Anaconda and Python 3.9.16. Got through the pip3 install -r requirements.txt command with #119 but setup.py develop now fails with the following error:

(bytetracker_test) PS C:\Users\miche\Documents\GitHub\ByteTrack> python setup.py develop
running develop
C:\Users\miche\anaconda3\envs\bytetracker_test\lib\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(
C:\Users\miche\anaconda3\envs\bytetracker_test\lib\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 yolox.egg-info\PKG-INFO
writing dependency_links to yolox.egg-info\dependency_links.txt
writing top-level names to yolox.egg-info\top_level.txt
reading manifest file 'yolox.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'yolox.egg-info\SOURCES.txt'
running build_ext
C:\Users\miche\anaconda3\envs\bytetracker_test\lib\site-packages\torch\utils\cpp_extension.py:358: UserWarning: Error checking compiler version for cl: [WinError 2] Das System kann die angegebene Datei nicht finden
  warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'yolox._C' 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/

Supposedly the compiler version is not checkable or does not exist, which is weird because I got the most recent MS Visual C++ version.
Anyone experiencing the same issue?

MichlF commented

I run into a similar issue when using when using the pip packaged version (but for a different package: legacy-install-failure). I don't have problems with MS Visual C++ in other packages....

me,too