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

error while installing duckietown shell #418

Open
Abhijithsingh opened this issue Jul 27, 2023 · 0 comments
Open

error while installing duckietown shell #418

Abhijithsingh opened this issue Jul 27, 2023 · 0 comments

Comments

@Abhijithsingh
Copy link

abhijithsingh@Abhijiths-MacBook-Air git-lfs-3.4.0 % python3 -m pip install duckietown-shell
Collecting duckietown-shell
Using cached duckietown-shell-5.5.9.tar.gz (94 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: GitPython in /Users/abhijithsingh/Library/Python/3.11/lib/python/site-packages (from duckietown-shell) (3.1.32)
Collecting texttable (from duckietown-shell)
Using cached texttable-1.6.7-py2.py3-none-any.whl (10 kB)
Collecting base58 (from duckietown-shell)
Using cached base58-2.1.1-py3-none-any.whl (5.6 kB)
Collecting ecdsa (from duckietown-shell)
Using cached ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)
Requirement already satisfied: python-dateutil in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from duckietown-shell) (2.8.2)
Collecting whichcraft (from duckietown-shell)
Using cached whichcraft-0.6.1-py2.py3-none-any.whl (5.2 kB)
Requirement already satisfied: termcolor in /Users/abhijithsingh/Library/Python/3.11/lib/python/site-packages (from duckietown-shell) (2.3.0)
Collecting PyYAML (from duckietown-shell)
Obtaining dependency information for PyYAML from https://files.pythonhosted.org/packages/28/09/55f715ddbf95a054b764b547f617e22f1d5e45d83905660e9a088078fe67/PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl.metadata
Using cached PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl.metadata (2.1 kB)
Collecting docker (from duckietown-shell)
Obtaining dependency information for docker from https://files.pythonhosted.org/packages/db/be/3032490fa33b36ddc8c4b1da3252c6f974e7133f1a50de00c6b85cca203a/docker-6.1.3-py3-none-any.whl.metadata
Using cached docker-6.1.3-py3-none-any.whl.metadata (3.5 kB)
Collecting docker-compose (from duckietown-shell)
Using cached docker_compose-1.29.2-py2.py3-none-any.whl (114 kB)
Requirement already satisfied: six in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from duckietown-shell) (1.16.0)
Collecting psutil (from duckietown-shell)
Using cached psutil-5.9.5-cp38-abi3-macosx_11_0_arm64.whl (246 kB)
Collecting future (from duckietown-shell)
Using cached future-0.18.3.tar.gz (840 kB)
Preparing metadata (setup.py) ... done
Collecting duckietown-docker-utils-daffy>=6.0.90 (from duckietown-shell)
Using cached duckietown-docker-utils-daffy-6.1.1.tar.gz (9.1 kB)
Preparing metadata (setup.py) ... done
Collecting zeroconf (from duckietown-shell)
Using cached zeroconf-0.71.4.tar.gz (144 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting requests (from duckietown-shell)
Obtaining dependency information for requests from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl.metadata
Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting pytz (from duckietown-shell)
Using cached pytz-2023.3-py2.py3-none-any.whl (502 kB)
Collecting dt-authentication-daffy (from duckietown-shell)
Using cached dt-authentication-daffy-0.1.16.tar.gz (3.3 kB)
Preparing metadata (setup.py) ... done
Collecting dt-data-api-daffy>=1.2.0 (from duckietown-shell)
Using cached dt-data-api-daffy-1.2.0.tar.gz (12 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: pip in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from duckietown-shell) (23.2.1)
Collecting dockertown>=0.2.2 (from duckietown-shell)
Using cached dockertown-0.2.3.tar.gz (97 kB)
Preparing metadata (setup.py) ... done
Collecting dtproject>=0.0.5 (from duckietown-shell)
Using cached dtproject-0.0.5.tar.gz (11 kB)
Preparing metadata (setup.py) ... done
Collecting pydantic<2,>=1.5 (from dockertown>=0.2.2->duckietown-shell)
Obtaining dependency information for pydantic<2,>=1.5 from https://files.pythonhosted.org/packages/f9/e7/8dc6b418c3eefd15274e93e58ebd7ed95a650cc0ee3f38673bb56a8aa3f7/pydantic-1.10.12-cp311-cp311-macosx_11_0_arm64.whl.metadata
Using cached pydantic-1.10.12-cp311-cp311-macosx_11_0_arm64.whl.metadata (149 kB)
Collecting tqdm (from dockertown>=0.2.2->duckietown-shell)
Using cached tqdm-4.65.0-py3-none-any.whl (77 kB)
Collecting typer>=0.4.1 (from dockertown>=0.2.2->duckietown-shell)
Using cached typer-0.9.0-py3-none-any.whl (45 kB)
Collecting typing_extensions (from dockertown>=0.2.2->duckietown-shell)
Obtaining dependency information for typing_extensions from https://files.pythonhosted.org/packages/ec/6b/63cc3df74987c36fe26157ee12e09e8f9db4de771e0f3404263117e75b95/typing_extensions-4.7.1-py3-none-any.whl.metadata
Using cached typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB)
Collecting humanfriendly (from dockertown>=0.2.2->duckietown-shell)
Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
Collecting beautifulsoup4 (from dt-data-api-daffy>=1.2.0->duckietown-shell)
Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting lxml (from dt-data-api-daffy>=1.2.0->duckietown-shell)
Obtaining dependency information for lxml from https://files.pythonhosted.org/packages/d6/56/9d5cb3438143a5aebad59088ca392950d74a531e1b96d0959144370b3b59/lxml-4.9.3-cp311-cp311-macosx_11_0_universal2.whl.metadata
Using cached lxml-4.9.3-cp311-cp311-macosx_11_0_universal2.whl.metadata (3.8 kB)
Collecting progressbar2 (from duckietown-docker-utils-daffy>=6.0.90->duckietown-shell)
Using cached progressbar2-4.2.0-py2.py3-none-any.whl (27 kB)
Collecting packaging>=14.0 (from docker->duckietown-shell)
Using cached packaging-23.1-py3-none-any.whl (48 kB)
Collecting urllib3>=1.26.0 (from docker->duckietown-shell)
Obtaining dependency information for urllib3>=1.26.0 from https://files.pythonhosted.org/packages/9b/81/62fd61001fa4b9d0df6e31d47ff49cfa9de4af03adecf339c7bc30656b37/urllib3-2.0.4-py3-none-any.whl.metadata
Using cached urllib3-2.0.4-py3-none-any.whl.metadata (6.6 kB)
Collecting websocket-client>=0.32.0 (from docker->duckietown-shell)
Obtaining dependency information for websocket-client>=0.32.0 from https://files.pythonhosted.org/packages/d3/a3/63e9329c8cc9be6153e919e17d0ef5b60d537fed78564872951b95bcc17c/websocket_client-1.6.1-py3-none-any.whl.metadata
Using cached websocket_client-1.6.1-py3-none-any.whl.metadata (7.6 kB)
Collecting charset-normalizer<4,>=2 (from requests->duckietown-shell)
Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/91/e6/8fa919fc84a106e9b04109de62bdf8526899e2754a64da66e1cd50ac1faa/charset_normalizer-3.2.0-cp311-cp311-macosx_11_0_arm64.whl.metadata
Using cached charset_normalizer-3.2.0-cp311-cp311-macosx_11_0_arm64.whl.metadata (31 kB)
Collecting idna<4,>=2.5 (from requests->duckietown-shell)
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting certifi>=2017.4.17 (from requests->duckietown-shell)
Obtaining dependency information for certifi>=2017.4.17 from https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl.metadata
Using cached certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting PyYAML (from duckietown-shell)
Using cached PyYAML-5.4.1.tar.gz (175 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [68 lines of output]
/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in setup.cfg
!!

          ********************************************************************************
          The license_file parameter is deprecated, use license_files instead.
  
          By 2023-Oct-30, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.
  
          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************
  
  !!
    parsed = self.parsers.get(option_name, lambda x: x)(value)
  running egg_info
  writing lib3/PyYAML.egg-info/PKG-INFO
  writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
  writing top-level names to lib3/PyYAML.egg-info/top_level.txt
  Traceback (most recent call last):
    File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
      self.run_setup()
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup
      exec(code, locals())
    File "<string>", line 271, in <module>
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 107, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1234, in run_command
      super().run_command(command)
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 314, in run
      self.find_sources()
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 322, in find_sources
      mm.run()
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 551, in run
      self.add_defaults()
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults
      sdist.add_defaults(self)
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/command/sdist.py", line 104, in add_defaults
      super().add_defaults()
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
      self._add_defaults_ext()
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
      self.filelist.extend(build_ext.get_source_files())
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<string>", line 201, in get_source_files
    File "/private/var/folders/rj/h_90wlp97kzbgxccd8lc_3d40000gn/T/pip-build-env-4zgcam3f/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
      raise AttributeError(attr)
  AttributeError: cython_sources
  [end of output]

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

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
abhijithsingh@Abhijiths-MacBook-Air git-lfs-3.4.0 %

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