MMtrack 安装出现问题,请友友们帮我解决一下
DEPRECATION: Loading egg at c:\users\hu186\.conda\envs\vit-adaper\lib\site-packages\fonttools-4.42.1-py3.11.egg is deprecated. pip 23.3 will enforce this behaviour change. A possible replacement is to use pip for package install
ation..
DEPRECATION: Loading egg at c:\users\hu186\.conda\envs\vit-adaper\lib\site-packages\mmdet-3.1.0-py3.11.egg is deprecated. pip 23.3 will enforce this behaviour change. A possible replacement is to use pip for package installation
..
Collecting mmtrack
Using cached mmtrack-0.14.0-py3-none-any.whl (400 kB)
Collecting attributee (from mmtrack)
Using cached attributee-0.1.8.tar.gz (11 kB)
Preparing metadata (setup.py) ... done
Collecting dotty-dict (from mmtrack)
Using cached dotty_dict-1.3.1-py3-none-any.whl (7.0 kB)
Collecting lap (from mmtrack)
Using cached lap-0.4.0.tar.gz (1.5 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: matplotlib in c:\users\hu186\.conda\envs\vit-adaper\lib\site-packages (from mmtrack) (3.7.2)
Collecting mmcls<1.0.0,>=0.16.0 (from mmtrack)
Using cached mmcls-0.25.0-py2.py3-none-any.whl (648 kB)
Collecting motmetrics (from mmtrack)
Using cached motmetrics-1.4.0-py3-none-any.whl (161 kB)
Requirement already satisfied: packaging in c:\users\hu186\appdata\roaming\python\python311\site-packages (from mmtrack) (23.1)
Collecting pandas<=1.3.5 (from mmtrack)
Using cached pandas-1.3.5.tar.gz (4.7 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pycocotools in c:\users\hu186\.conda\envs\vit-adaper\lib\site-packages (from mmtrack) (2.0.6)
Collecting scipy<=1.7.3 (from mmtrack)
Using cached scipy-1.6.1.tar.gz (27.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [153 lines of output]
setup.py:461: UserWarning: Unrecognized setuptools command ('dist_info --egg-base C:\Users\hu186\AppData\Local\Temp\pip-modern-metadata-l9giqjd5'), proceeding with generating Cython sources and expanding templates
warnings.warn("Unrecognized setuptools command ('{}'), proceeding with "
setup.py:563: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
from numpy.distutils.core import setup
Running from SciPy source directory.
INFO: lapack_opt_info:
INFO: lapack_armpl_info:
INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
INFO: customize MSVCCompiler
INFO: libraries armpl_lp64_mp not found in ['C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\lib', 'C:\\', 'C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\libs', 'B:\\Anaconda\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
INFO: lapack_mkl_info:
INFO: libraries mkl_rt not found in ['C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\lib', 'C:\\', 'C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\libs', 'B:\\Anaconda\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
INFO: lapack_ssl2_info:
INFO: libraries fjlapackexsve not found in ['C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\lib', 'C:\\', 'C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\libs', 'B:\\Anaconda\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
INFO: openblas_lapack_info:
INFO: libraries openblas not found in ['C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\lib', 'C:\\', 'C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\libs', 'B:\\Anaconda\\Library\\lib']
INFO: get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
INFO: customize GnuFCompiler
WARN: Could not locate executable g77
WARN: Could not locate executable f77
INFO: customize IntelVisualFCompiler
WARN: Could not locate executable ifort
WARN: Could not locate executable ifl
INFO: customize AbsoftFCompiler
WARN: Could not locate executable f90
INFO: customize CompaqVisualFCompiler
WARN: Could not locate executable DF
INFO: customize IntelItaniumVisualFCompiler
WARN: Could not locate executable efl
INFO: customize Gnu95FCompiler
WARN: Could not locate executable gfortran
WARN: Could not locate executable f95
INFO: customize G95FCompiler
WARN: Could not locate executable g95
INFO: customize IntelEM64VisualFCompiler
INFO: customize IntelEM64TFCompiler
WARN: Could not locate executable efort
WARN: Could not locate executable efc
INFO: customize PGroupFlangCompiler
WARN: Could not locate executable flang
WARN: don't know how to compile Fortran code on platform 'nt'
INFO: NOT AVAILABLE
INFO:
INFO: openblas_clapack_info:
INFO: libraries openblas,lapack not found in ['C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\lib', 'C:\\', 'C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\libs', 'B:\\Anaconda\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
INFO: flame_info:
INFO: libraries flame not found in ['C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\lib', 'C:\\', 'C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\libs', 'B:\\Anaconda\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
INFO: accelerate_info:
INFO: NOT AVAILABLE
INFO:
INFO: atlas_3_10_threads_info:
INFO: Setting PTATLAS=ATLAS
INFO: libraries tatlas,tatlas not found in C:\Users\hu186\.conda\envs\VIT-adaper\lib
INFO: libraries tatlas,tatlas not found in C:\
INFO: libraries tatlas,tatlas not found in C:\Users\hu186\.conda\envs\VIT-adaper\libs
INFO: libraries tatlas,tatlas not found in B:\Anaconda\Library\lib
INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
INFO: NOT AVAILABLE
INFO:
INFO: atlas_3_10_info:
INFO: libraries satlas,satlas not found in C:\Users\hu186\.conda\envs\VIT-adaper\lib
INFO: libraries satlas,satlas not found in C:\
INFO: libraries satlas,satlas not found in C:\Users\hu186\.conda\envs\VIT-adaper\libs
INFO: libraries satlas,satlas not found in B:\Anaconda\Library\lib
INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'>
INFO: NOT AVAILABLE
INFO:
INFO: atlas_threads_info:
INFO: Setting PTATLAS=ATLAS
INFO: libraries ptf77blas,ptcblas,atlas not found in C:\Users\hu186\.conda\envs\VIT-adaper\lib
INFO: libraries ptf77blas,ptcblas,atlas not found in C:\
INFO: libraries ptf77blas,ptcblas,atlas not found in C:\Users\hu186\.conda\envs\VIT-adaper\libs
INFO: libraries ptf77blas,ptcblas,atlas not found in B:\Anaconda\Library\lib
INFO: <class 'numpy.distutils.system_info.atlas_threads_info'>
INFO: NOT AVAILABLE
INFO:
INFO: atlas_info:
INFO: libraries f77blas,cblas,atlas not found in C:\Users\hu186\.conda\envs\VIT-adaper\lib
INFO: libraries f77blas,cblas,atlas not found in C:\
INFO: libraries f77blas,cblas,atlas not found in C:\Users\hu186\.conda\envs\VIT-adaper\libs
INFO: libraries f77blas,cblas,atlas not found in B:\Anaconda\Library\lib
INFO: <class 'numpy.distutils.system_info.atlas_info'>
INFO: NOT AVAILABLE
INFO:
INFO: lapack_info:
INFO: libraries lapack not found in ['C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\lib', 'C:\\', 'C:\\Users\\hu186\\.conda\\envs\\VIT-adaper\\libs', 'B:\\Anaconda\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
C:\Users\hu186\AppData\Local\Temp\pip-build-env-3tzw_lrl\overlay\Lib\site-packages\numpy\distutils\system_info.py:1974: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
INFO: lapack_src_info:
INFO: NOT AVAILABLE
INFO:
C:\Users\hu186\AppData\Local\Temp\pip-build-env-3tzw_lrl\overlay\Lib\site-packages\numpy\distutils\system_info.py:1974: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
INFO: NOT AVAILABLE
INFO:
Traceback (most recent call last):
File "C:\Users\hu186\.conda\envs\VIT-adaper\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\hu186\.conda\envs\VIT-adaper\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hu186\.conda\envs\VIT-adaper\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hu186\AppData\Local\Temp\pip-build-env-3tzw_lrl\overlay\Lib\site-packages\setuptools\build_meta.py", line 161, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\hu186\AppData\Local\Temp\pip-build-env-3tzw_lrl\overlay\Lib\site-packages\setuptools\build_meta.py", line 254, in run_setup
self).run_setup(setup_script=setup_script)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hu186\AppData\Local\Temp\pip-build-env-3tzw_lrl\overlay\Lib\site-packages\setuptools\build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 588, in <module>
setup_package()
File "setup.py", line 584, in setup_package
setup(**metadata)
File "C:\Users\hu186\AppData\Local\Temp\pip-build-env-3tzw_lrl\overlay\Lib\site-packages\numpy\distutils\core.py", line 135, in setup
config = configuration()
^^^^^^^^^^^^^^^
File "setup.py", line 499, in configuration
raise NotFoundError(msg)
numpy.distutils.system_info.NotFoundError: No BLAS/LAPACK libraries found.
To build Scipy from sources, BLAS & LAPACK libraries need to be installed.
See site.cfg.example in the Scipy source directory and
https://docs.scipy.org/doc/scipy/reference/building/index.html for details.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.