facebookresearch / fastText

Library for fast text representation and classification.
https://fasttext.cc/
MIT License
25.83k stars 4.71k forks source link

pip install imutils not working #1313

Open Ritika-github opened 1 year ago

Ritika-github commented 1 year ago

WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages) Installing collected packages: imutils DEPRECATION: imutils is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for imutils ... error error: subprocess-exited-with-error

× Running setup.py install for imutils did not run successfully. │ exit code: 1 ╰─> [118 lines of output] C:\Python310\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running install running build running build_py creating build creating build\lib creating build\lib\imutils copying imutils\contours.py -> build\lib\imutils copying imutils\convenience.py -> build\lib\imutils copying imutils\encodings.py -> build\lib\imutils copying imutils\meta.py -> build\lib\imutils copying imutils\object_detection.py -> build\lib\imutils copying imutils\paths.py -> build\lib\imutils copying imutils\perspective.py -> build\lib\imutils copying imutils\text.py -> build\lib\imutils copying imutils__init.py -> build\lib\imutils creating build\lib\imutils\video copying imutils\video\count_frames.py -> build\lib\imutils\video copying imutils\video\filevideostream.py -> build\lib\imutils\video copying imutils\video\fps.py -> build\lib\imutils\video copying imutils\video\pivideostream.py -> build\lib\imutils\video copying imutils\video\videostream.py -> build\lib\imutils\video copying imutils\video\webcamvideostream.py -> build\lib\imutils\video copying imutils\video__init.py -> build\lib\imutils\video creating build\lib\imutils\io copying imutils\io\tempfile.py -> build\lib\imutils\io copying imutils\io__init.py -> build\lib\imutils\io creating build\lib\imutils\feature copying imutils\feature\dense.py -> build\lib\imutils\feature copying imutils\feature\factories.py -> build\lib\imutils\feature copying imutils\feature\gftt.py -> build\lib\imutils\feature copying imutils\feature\harris.py -> build\lib\imutils\feature copying imutils\feature\helpers.py -> build\lib\imutils\feature copying imutils\feature\rootsift.py -> build\lib\imutils\feature copying imutils\feature__init.py -> build\lib\imutils\feature creating build\lib\imutils\face_utils copying imutils\face_utils\facealigner.py -> build\lib\imutils\face_utils copying imutils\face_utils\helpers.py -> build\lib\imutils\face_utils copying imutils\face_utils\init__.py -> build\lib\imutils\face_utils running build_scripts creating build\scripts-3.10 copying and adjusting bin\range-detector -> build\scripts-3.10 running install_lib creating C:\Python310\Lib\site-packages\imutils copying build\lib\imutils\contours.py -> C:\Python310\Lib\site-packages\imutils copying build\lib\imutils\convenience.py -> C:\Python310\Lib\site-packages\imutils copying build\lib\imutils\encodings.py -> C:\Python310\Lib\site-packages\imutils creating C:\Python310\Lib\site-packages\imutils\face_utils copying build\lib\imutils\face_utils\facealigner.py -> C:\Python310\Lib\site-packages\imutils\face_utils copying build\lib\imutils\face_utils\helpers.py -> C:\Python310\Lib\site-packages\imutils\face_utils copying build\lib\imutils\face_utils\init__.py -> C:\Python310\Lib\site-packages\imutils\face_utils creating C:\Python310\Lib\site-packages\imutils\feature copying build\lib\imutils\feature\dense.py -> C:\Python310\Lib\site-packages\imutils\feature copying build\lib\imutils\feature\factories.py -> C:\Python310\Lib\site-packages\imutils\feature copying build\lib\imutils\feature\gftt.py -> C:\Python310\Lib\site-packages\imutils\feature copying build\lib\imutils\feature\harris.py -> C:\Python310\Lib\site-packages\imutils\feature copying build\lib\imutils\feature\helpers.py -> C:\Python310\Lib\site-packages\imutils\feature copying build\lib\imutils\feature\rootsift.py -> C:\Python310\Lib\site-packages\imutils\feature copying build\lib\imutils\feature\init.py -> C:\Python310\Lib\site-packages\imutils\feature creating C:\Python310\Lib\site-packages\imutils\io copying build\lib\imutils\io\tempfile.py -> C:\Python310\Lib\site-packages\imutils\io copying build\lib\imutils\io\init.py -> C:\Python310\Lib\site-packages\imutils\io copying build\lib\imutils\meta.py -> C:\Python310\Lib\site-packages\imutils copying build\lib\imutils\object_detection.py -> C:\Python310\Lib\site-packages\imutils copying build\lib\imutils\paths.py -> C:\Python310\Lib\site-packages\imutils copying build\lib\imutils\perspective.py -> C:\Python310\Lib\site-packages\imutils copying build\lib\imutils\text.py -> C:\Python310\Lib\site-packages\imutils creating C:\Python310\Lib\site-packages\imutils\video copying build\lib\imutils\video\count_frames.py -> C:\Python310\Lib\site-packages\imutils\video copying build\lib\imutils\video\filevideostream.py -> C:\Python310\Lib\site-packages\imutils\video copying build\lib\imutils\video\fps.py -> C:\Python310\Lib\site-packages\imutils\video copying build\lib\imutils\video\pivideostream.py -> C:\Python310\Lib\site-packages\imutils\video copying build\lib\imutils\video\videostream.py -> C:\Python310\Lib\site-packages\imutils\video copying build\lib\imutils\video\webcamvideostream.py -> C:\Python310\Lib\site-packages\imutils\video copying build\lib\imutils\video\init.py -> C:\Python310\Lib\site-packages\imutils\video copying build\lib\imutils\init__.py -> C:\Python310\Lib\site-packages\imutils byte-compiling C:\Python310\Lib\site-packages\imutils\contours.py to contours.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\convenience.py to convenience.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\encodings.py to encodings.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\face_utils\facealigner.py to facealigner.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\face_utils\helpers.py to helpers.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\face_utils\init.py to init.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\feature\dense.py to dense.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\feature\factories.py to factories.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\feature\gftt.py to gftt.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\feature\harris.py to harris.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\feature\helpers.py to helpers.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\feature\rootsift.py to rootsift.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\feature\init.py to init.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\io\tempfile.py to tempfile.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\io\init.py to init.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\meta.py to meta.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\object_detection.py to object_detection.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\paths.py to paths.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\perspective.py to perspective.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\text.py to text.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\video\count_frames.py to count_frames.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\video\filevideostream.py to filevideostream.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\video\fps.py to fps.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\video\pivideostream.py to pivideostream.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\video\videostream.py to videostream.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\video\webcamvideostream.py to webcamvideostream.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\video\init.py to init.cpython-310.pyc byte-compiling C:\Python310\Lib\site-packages\imutils\init.py to init__.cpython-310.pyc running install_egg_info running egg_info creating imutils.egg-info writing imutils.egg-info\PKG-INFO writing dependency_links to imutils.egg-info\dependency_links.txt writing top-level names to imutils.egg-info\top_level.txt writing manifest file 'imutils.egg-info\SOURCES.txt' reading manifest file 'imutils.egg-info\SOURCES.txt' writing manifest file 'imutils.egg-info\SOURCES.txt' Copying imutils.egg-info to C:\Python310\Lib\site-packages\imutils-0.5.4-py3.10.egg-info running install_scripts copying build\scripts-3.10\range-detector -> C:\Python310\Scripts error: could not create 'C:\Python310\Scripts\range-detector': Permission denied [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> imutils

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages) WARNING: Ignoring invalid distribution -1p (c:\python310\lib\site-packages) WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages) WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages) WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)

munnokd commented 1 year ago

Solution You should go to this Solution site and try if there is any solution that will work.