Skip to content
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

Can't install pip install -e '.[dev]' #51

Open
ConstantError opened this issue Apr 11, 2024 · 0 comments
Open

Can't install pip install -e '.[dev]' #51

ConstantError opened this issue Apr 11, 2024 · 0 comments

Comments

@ConstantError
Copy link

I've been trying for some time to fix this error but always receive this error (using python 3.10 and already updated pip)

Obtaining file:///C:/Users/Christopher%20Then/OneDrive/Documents/Ngee%20Ann%20Poly%20Year%203/Vaxtor%20Object%20Detector/TestVision2/YOLOv8-DeepSORT-Object-Tracking
Preparing metadata (setup.py) ... done
Requirement already satisfied: hydra-core>=1.2.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (1.3.2)
Requirement already satisfied: matplotlib>=3.2.2 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (3.8.4)
Requirement already satisfied: numpy>=1.18.5 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (1.26.4)
Requirement already satisfied: opencv-python>=4.1.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (4.9.0.80)
Requirement already satisfied: Pillow>=7.1.2 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (10.3.0)
Requirement already satisfied: PyYAML>=5.3.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (6.0.1)
Requirement already satisfied: requests>=2.23.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (2.31.0)
Requirement already satisfied: scipy>=1.4.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (1.13.0)
Requirement already satisfied: torch>=1.7.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (2.2.2)
Requirement already satisfied: torchvision>=0.8.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (0.17.2)
Requirement already satisfied: tqdm>=4.64.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (4.66.2)
Requirement already satisfied: tensorboard>=2.4.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (2.16.2)
Requirement already satisfied: pandas>=1.1.4 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (2.2.1)
Requirement already satisfied: seaborn>=0.11.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (0.13.2)
Requirement already satisfied: ipython in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (8.23.0)
Requirement already satisfied: psutil in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (5.9.8)
Requirement already satisfied: thop>=0.1.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (0.1.1.post2209072238)
Requirement already satisfied: GitPython>=3.1.24 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (3.1.43)
Requirement already satisfied: check-manifest in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (0.49)
Requirement already satisfied: pytest in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (8.1.1)
Requirement already satisfied: pytest-cov in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (5.0.0)
Requirement already satisfied: coverage in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (7.4.4)
Requirement already satisfied: mkdocs in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ultralytics==8.0.3) (1.5.3)
Collecting mkdocstrings[python] (from ultralytics==8.0.3)
Using cached mkdocstrings-0.24.3-py3-none-any.whl.metadata (7.6 kB)
Collecting mkdocs-material (from ultralytics==8.0.3)
Using cached mkdocs_material-9.5.17-py3-none-any.whl.metadata (17 kB)
Requirement already satisfied: gitdb<5,>=4.0.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from GitPython>=3.1.24->ultralytics==8.0.3) (4.0.11)
Requirement already satisfied: omegaconf<2.4,>=2.2 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from hydra-core>=1.2.0->ultralytics==8.0.3) (2.3.0)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from hydra-core>=1.2.0->ultralytics==8.0.3) (4.9.3)
Requirement already satisfied: packaging in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from hydra-core>=1.2.0->ultralytics==8.0.3) (24.0)
Requirement already satisfied: contourpy>=1.0.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=3.2.2->ultralytics==8.0.3) (1.2.1)
Requirement already satisfied: cycler>=0.10 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=3.2.2->ultralytics==8.0.3) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=3.2.2->ultralytics==8.0.3) (4.51.0)
Requirement already satisfied: kiwisolver>=1.3.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=3.2.2->ultralytics==8.0.3) (1.4.5)
Requirement already satisfied: pyparsing>=2.3.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=3.2.2->ultralytics==8.0.3) (3.1.2)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=3.2.2->ultralytics==8.0.3) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from pandas>=1.1.4->ultralytics==8.0.3) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from pandas>=1.1.4->ultralytics==8.0.3) (2024.1)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from requests>=2.23.0->ultralytics==8.0.3) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from requests>=2.23.0->ultralytics==8.0.3) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from requests>=2.23.0->ultralytics==8.0.3) (2.2.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from requests>=2.23.0->ultralytics==8.0.3) (2024.2.2)
Requirement already satisfied: absl-py>=0.4 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.4.1->ultralytics==8.0.3) (2.1.0)
Requirement already satisfied: grpcio>=1.48.2 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.4.1->ultralytics==8.0.3) (1.62.1)
Requirement already satisfied: markdown>=2.6.8 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.4.1->ultralytics==8.0.3) (3.6)
Requirement already satisfied: protobuf!=4.24.0,>=3.19.6 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.4.1->ultralytics==8.0.3) (5.26.1)
Requirement already satisfied: setuptools>=41.0.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.4.1->ultralytics==8.0.3) (69.2.0)
Requirement already satisfied: six>1.9 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.4.1->ultralytics==8.0.3) (1.16.0)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.4.1->ultralytics==8.0.3) (0.7.2)
Requirement already satisfied: werkzeug>=1.0.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from tensorboard>=2.4.1->ultralytics==8.0.3) (3.0.2)
Requirement already satisfied: filelock in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.7.0->ultralytics==8.0.3) (3.13.3)
Requirement already satisfied: typing-extensions>=4.8.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.7.0->ultralytics==8.0.3) (4.11.0)
Requirement already satisfied: sympy in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.7.0->ultralytics==8.0.3) (1.12)
Requirement already satisfied: networkx in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.7.0->ultralytics==8.0.3) (3.3)
Requirement already satisfied: jinja2 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.7.0->ultralytics==8.0.3) (3.1.3)
Requirement already satisfied: fsspec in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.7.0->ultralytics==8.0.3) (2024.3.1)
Requirement already satisfied: colorama in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from tqdm>=4.64.0->ultralytics==8.0.3) (0.4.6)
Requirement already satisfied: build>=0.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from check-manifest->ultralytics==8.0.3) (1.2.1)
Requirement already satisfied: tomli in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from check-manifest->ultralytics==8.0.3) (2.0.1)
Requirement already satisfied: decorator in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ipython->ultralytics==8.0.3) (5.1.1)
Requirement already satisfied: jedi>=0.16 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ipython->ultralytics==8.0.3) (0.19.1)
Requirement already satisfied: matplotlib-inline in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ipython->ultralytics==8.0.3) (0.1.6)
Requirement already satisfied: prompt-toolkit<3.1.0,>=3.0.41 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ipython->ultralytics==8.0.3) (3.0.43)
Requirement already satisfied: pygments>=2.4.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ipython->ultralytics==8.0.3) (2.17.2)
Requirement already satisfied: stack-data in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ipython->ultralytics==8.0.3) (0.6.3)
Requirement already satisfied: traitlets>=5.13.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ipython->ultralytics==8.0.3) (5.14.2)
Requirement already satisfied: exceptiongroup in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from ipython->ultralytics==8.0.3) (1.2.0)
Requirement already satisfied: click>=7.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs->ultralytics==8.0.3) (8.1.7)
Requirement already satisfied: ghp-import>=1.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs->ultralytics==8.0.3) (2.1.0)
Requirement already satisfied: markupsafe>=2.0.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs->ultralytics==8.0.3) (2.1.5)
Requirement already satisfied: mergedeep>=1.3.4 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs->ultralytics==8.0.3) (1.3.4)
Requirement already satisfied: pathspec>=0.11.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs->ultralytics==8.0.3) (0.12.1)
Requirement already satisfied: platformdirs>=2.2.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs->ultralytics==8.0.3) (4.2.0)
Requirement already satisfied: pyyaml-env-tag>=0.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs->ultralytics==8.0.3) (0.1)
Requirement already satisfied: watchdog>=2.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs->ultralytics==8.0.3) (4.0.0)
Requirement already satisfied: babel~=2.10 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs-material->ultralytics==8.0.3) (2.14.0)
Requirement already satisfied: mkdocs-material-extensions~=1.3 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs-material->ultralytics==8.0.3) (1.3.1)
Requirement already satisfied: paginate~=0.5 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs-material->ultralytics==8.0.3) (0.5.6)
Requirement already satisfied: pymdown-extensions~=10.2 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs-material->ultralytics==8.0.3) (10.7.1)
Requirement already satisfied: regex>=2022.4 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocs-material->ultralytics==8.0.3) (2023.12.25)
Collecting mkdocs-autorefs>=0.3.1 (from mkdocstrings[python]->ultralytics==8.0.3)
Using cached mkdocs_autorefs-1.0.1-py3-none-any.whl.metadata (6.9 kB)
Collecting mkdocstrings-python>=0.5.2 (from mkdocstrings[python]->ultralytics==8.0.3)
Using cached mkdocstrings_python-1.9.2-py3-none-any.whl.metadata (5.5 kB)
Requirement already satisfied: iniconfig in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from pytest->ultralytics==8.0.3) (2.0.0)
Requirement already satisfied: pluggy<2.0,>=1.4 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from pytest->ultralytics==8.0.3) (1.4.0)
Requirement already satisfied: pyproject_hooks in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from build>=0.1->check-manifest->ultralytics==8.0.3) (1.0.0)
Requirement already satisfied: importlib-metadata>=4.6 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from build>=0.1->check-manifest->ultralytics==8.0.3) (7.1.0)
Requirement already satisfied: smmap<6,>=3.0.1 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from gitdb<5,>=4.0.1->GitPython>=3.1.24->ultralytics==8.0.3) (5.0.1)
Requirement already satisfied: parso<0.9.0,>=0.8.3 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from jedi>=0.16->ipython->ultralytics==8.0.3) (0.8.4)
Requirement already satisfied: griffe>=0.37 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from mkdocstrings-python>=0.5.2->mkdocstrings[python]->ultralytics==8.0.3) (0.42.1)
Requirement already satisfied: wcwidth in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from prompt-toolkit<3.1.0,>=3.0.41->ipython->ultralytics==8.0.3) (0.2.13)
Requirement already satisfied: executing>=1.2.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from stack-data->ipython->ultralytics==8.0.3) (2.0.1)
Requirement already satisfied: asttokens>=2.1.0 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from stack-data->ipython->ultralytics==8.0.3) (2.4.1)
Requirement already satisfied: pure-eval in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from stack-data->ipython->ultralytics==8.0.3) (0.2.2)
Requirement already satisfied: mpmath>=0.19 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from sympy->torch>=1.7.0->ultralytics==8.0.3) (1.3.0)
Requirement already satisfied: zipp>=0.5 in c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages (from importlib-metadata>=4.6->build>=0.1->check-manifest->ultralytics==8.0.3) (3.18.1)
Using cached mkdocs_material-9.5.17-py3-none-any.whl (8.7 MB)
Using cached mkdocs_autorefs-1.0.1-py3-none-any.whl (13 kB)
Using cached mkdocstrings_python-1.9.2-py3-none-any.whl (58 kB)
Using cached mkdocstrings-0.24.3-py3-none-any.whl (28 kB)
Installing collected packages: ultralytics, mkdocs-material, mkdocs-autorefs, mkdocstrings, mkdocstrings-python
Attempting uninstall: ultralytics
Found existing installation: ultralytics 8.1.45
Uninstalling ultralytics-8.1.45:
Successfully uninstalled ultralytics-8.1.45
Running setup.py develop for ultralytics
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
    C:\Users\Christopher Then\OneDrive\Documents\Ngee Ann Poly Year 3\Vaxtor Object Detector\TestVision2\YOLOv8-DeepSORT-Object-Tracking\setup.py:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      import pkg_resources as pkg
    running develop
    C:\Users\Christopher Then\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
    !!

            ********************************************************************************
            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)
    C:\Users\Christopher Then\AppData\Local\Programs\Python\Python310\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
    error: Cannot update time stamp of directory 'ultralytics.egg-info'
    [end of output]

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

Rolling back uninstall of ultralytics
Moving to c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages\ultralytics-8.1.45.dist-info
from C:\Users\Christopher Then\AppData\Local\Programs\Python\Python310\Lib\site-packages~ltralytics-8.1.45.dist-info
Moving to c:\users\christopher then\appdata\local\programs\python\python310\lib\site-packages\ultralytics
from C:\Users\Christopher Then\AppData\Local\Programs\Python\Python310\Lib\site-packages~ltralytics
Moving to c:\users\christopher then\appdata\local\programs\python\python310\scripts\ultralytics.exe
from C:\Users\Christopher Then\AppData\Local\Temp\pip-uninstall-h56rigrd\ultralytics.exe
Moving to c:\users\christopher then\appdata\local\programs\python\python310\scripts\yolo.exe
from C:\Users\Christopher Then\AppData\Local\Temp\pip-uninstall-h56rigrd\yolo.exe
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
C:\Users\Christopher Then\OneDrive\Documents\Ngee Ann Poly Year 3\Vaxtor Object Detector\TestVision2\YOLOv8-DeepSORT-Object-Tracking\setup.py:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources as pkg
running develop
C:\Users\Christopher Then\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        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)
C:\Users\Christopher Then\AppData\Local\Programs\Python\Python310\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
error: Cannot update time stamp of directory 'ultralytics.egg-info'
[end of output]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant