AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

× '''Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [21 lines of output]'''

Open KTH1881 opened this issue 1 year ago • 14 comments

⚠️ Search for existing issues first ⚠️

  • [X] I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Windows

Which version of Auto-GPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-4

Which area covers your issue best?

Installation and setup

Describe your issue.

`  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]
      Traceback (most recent call last):
        File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\admin\AppData\Local\Programs\Python\Python311\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\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\admin\AppData\Local\Temp\pip-build-env-r546pjvc\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "C:\Users\admin\AppData\Local\Temp\pip-build-env-r546pjvc\overlay\Lib\site-packages\setuptools\build_meta.py", line 488, in run_setup
          self).run_setup(setup_script=setup_script)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\admin\AppData\Local\Temp\pip-build-env-r546pjvc\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 11, in <module>
      UnicodeDecodeError: 'cp949' codec can't decode byte 0xf0 in position 22: illegal multibyte sequence
      [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.`

I was trying to install pip install -r requirements.txt, but this popped up. and Im not sure what's happening.

Upload Activity Log Content

No response

Upload Error Log Content

No response

KTH1881 avatar Jun 06 '23 12:06 KTH1881

i get a different error than the above see first error below, - then continues to show the bulleting messages, but then crashes on docx module not found - see 2nd error below

First Error:

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [24 lines of output] Traceback (most recent call last): File "H:\Python\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in main() File "H:\Python\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 "H:\Python\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\postmrtm\AppData\Local\Temp\pip-build-env-3kxnru6n\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\postmrtm\AppData\Local\Temp\pip-build-env-3kxnru6n\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires self.run_setup() File "C:\Users\postmrtm\AppData\Local\Temp\pip-build-env-3kxnru6n\overlay\Lib\site-packages\setuptools\build_meta.py", line 488, in run_setup self).run_setup(setup_script=setup_script) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\postmrtm\AppData\Local\Temp\pip-build-env-3kxnru6n\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 11, in File "H:\Python\Lib\encodings\cp1255.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'charmap' codec can't decode byte 0x9f in position 23: character maps to [end of output]

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

2nd Error:

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in run_code File "H:\Auto-GPT-0.4.0\autogpt_main.py", line 5, in autogpt.cli.main() File "H:\Python\Lib\site-packages\click\core.py", line 1130, in call return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\Python\Lib\site-packages\click\core.py", line 1055, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "H:\Python\Lib\site-packages\click\core.py", line 1635, in invoke rv = super().invoke(ctx) ^^^^^^^^^^^^^^^^^^^ File "H:\Python\Lib\site-packages\click\core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\Python\Lib\site-packages\click\core.py", line 760, in invoke return _callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\Python\Lib\site-packages\click\decorators.py", line 26, in new_func return f(get_current_context(), *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\Auto-GPT-0.4.0\autogpt\cli.py", line 96, in main run_auto_gpt( File "H:\Auto-GPT-0.4.0\autogpt\main.py", line 158, in run_auto_gpt command_registry.import_commands(command_category) File "H:\Auto-GPT-0.4.0\autogpt\commands\command.py", line 121, in import_commands module = importlib.import_module(module_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\Python\Lib\importlib_init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1206, in _gcd_import File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "H:\Auto-GPT-0.4.0\autogpt\commands\file_operations.py", line 14, in from autogpt.commands.file_operations_utils import read_textual_file File "H:\Auto-GPT-0.4.0\autogpt\commands\file_operations_utils.py", line 5, in import docx ModuleNotFoundError: No module named 'docx' Press any key to continue . . .

postmrtm avatar Jun 06 '23 13:06 postmrtm

@postmrtm does running "pip install python-docx" or "pip install docx" fix your issue?

lc0rp avatar Jun 08 '23 03:06 lc0rp

no :( but it seems there are now more missing items and errors it installed the missing docx but now gives two other errors :(

UnicodeDecodeError: 'charmap' codec can't decode byte 0x9f in position 23: character maps to [end of output]

AND

ModuleNotFoundError: No module named 'PyPDF2'

postmrtm avatar Jun 10 '23 15:06 postmrtm

I downloaded the previous release and it's settled https://github.com/Significant-Gravitas/Auto-GPT/releases/tag/v0.3.1

yechan-9208 avatar Jun 14 '23 10:06 yechan-9208

Similar problem. File "C:\Users\me\AppData\Local\Programs\Python\Python311\Lib\encodings\cp1257.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'charmap' codec can't decode byte 0x9f in position 23: character maps to

Would like to switch from cp1257 toUTF8, but do not know how to do it as virtualenv and all dependencies are set automatically.

Otherwise would use set PYTHONUTF8=1

Also have an 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. Traceback (most recent call last): File "", line 189, in _run_module_as_main File "", line 148, in _get_module_details File "", line 112, in get_module_details File "C:\agpt\autogpt_init.py", line 5, in from dotenv import load_dotenv ModuleNotFoundError: No module named 'dotenv' But I have installed dotenv, so the problem is in virtualenv setup

KittHaab avatar Jun 16 '23 16:06 KittHaab

@lc0rp does running "pip install python-docx" or "pip install docx" fix your issue?

Thank you for your help!!!!!!!!!! Could you explain the reason? Your answer resolve my problem, but I can't find the reason.

Grigiogo avatar Jul 06 '23 17:07 Grigiogo

((general-ledger:3.9)) saz506lrc4w2@sg3plcpnl0007 [~/general-ledger]$ pip install mysqlclient Collecting mysqlclient Using cached mysqlclient-2.2.0.tar.gz (89 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 ╰─> [22 lines of output] Trying pkg-config --exists mysqlclient Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1. Trying pkg-config --exists mariadb Command 'pkg-config --exists mariadb' returned non-zero exit status 1. Traceback (most recent call last): File "/home/saz506lrc4w2/virtualenv/general-ledger/3.9/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/home/saz506lrc4w2/virtualenv/general-ledger/3.9/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/home/saz506lrc4w2/virtualenv/general-ledger/3.9/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "/tmp/pip-build-env-d8645koh/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "/tmp/pip-build-env-d8645koh/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-d8645koh/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 154, in File "", line 48, in get_config_posix File "", line 27, in find_package_name Exception: Can not find valid pkg-config name. Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually [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. same error here how to resolve this problem plss help me..

Galigao07 avatar Aug 04 '23 09:08 Galigao07

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] avatar Oct 01 '23 01:10 github-actions[bot]

Same issue, did anyone find a fix..

latest build + Python 3.12.0

× 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. Traceback (most recent call last): File "", line 189, in _run_module_as_main File "", line 148, in _get_module_details File "", line 112, in get_module_details File "C:\Users\Initus\Desktop\AutoGPT-0.4.7\autogpt_init.py", line 5, in from dotenv import load_dotenv ModuleNotFoundError: No module named 'dotenv'

BAHLZ avatar Oct 04 '23 12:10 BAHLZ

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] C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\config\setupcfg.py:293: _DeprecatedConfig: Deprecated config in setup.cfg !!

          ********************************************************************************
          The license_file parameter is deprecated, use license_files instead.

          This deprecation is overdue, please update your project and remove deprecated
          calls to avoid build errors in the future.

          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 "D:\tenserflow\models\research\env\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "D:\tenserflow\models\research\env\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 "D:\tenserflow\models\research\env\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\build_meta.py", line 355, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in _get_build_requires
      self.run_setup()
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in run_setup
      exec(code, locals())
    File "<string>", line 271, in <module>
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\dist.py", line 989, in run_command
      super().run_command(command)
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 318, in run
      self.find_sources()
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 326, in find_sources
      mm.run()
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 548, in run
      self.add_defaults()
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 586, in add_defaults
      sdist.add_defaults(self)
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\command\sdist.py", line 113, in add_defaults
      super().add_defaults()
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\site-packages\setuptools\_distutils\command\sdist.py", line 251, in add_defaults
      self._add_defaults_ext()
    File "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\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 "C:\Users\PARAS YADAV\AppData\Local\Temp\pip-build-env-rrd64deh\overlay\Lib\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. please someone help me in fixing this error i am getting this error when i am running python -m pip install .

parasyadav08 avatar Nov 06 '23 16:11 parasyadav08

Collecting torch_sparse Using cached torch_sparse-0.6.18.tar.gz (209 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 ╰─> [17 lines of output] Traceback (most recent call last): File "C:\Users\SHRIYA\AppData\Local\Programs\Python\Python39\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in main() File "C:\Users\SHRIYA\AppData\Local\Programs\Python\Python39\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\SHRIYA\AppData\Local\Programs\Python\Python39\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\SHRIYA\AppData\Local\Temp\pip-build-env-h7v953z9\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "C:\Users\SHRIYA\AppData\Local\Temp\pip-build-env-h7v953z9\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires self.run_setup() File "C:\Users\SHRIYA\AppData\Local\Temp\pip-build-env-h7v953z9\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script) File "C:\Users\SHRIYA\AppData\Local\Temp\pip-build-env-h7v953z9\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 8, in ModuleNotFoundError: No module named 'torch' [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.

shriya-5 avatar Nov 24 '23 14:11 shriya-5

Kindly help me with this

shriya-5 avatar Nov 24 '23 14:11 shriya-5

This is a bug report for AutoGPT, not a general Python help channel for anyone with the same error message. @Galigao07 @parasyadav08 @shriya-5 you want to find the correct project for your problem and ask for support from their respective maintainers.

tripleee avatar Nov 27 '23 06:11 tripleee

I am trying to deploy a flask app to heroku using Ubuntu 22.04 terminal. But I keep getting the following error. I have tried running older version of python as well as upgrading wheel setuptools in vain;

note: This error originates from a subprocess, and is likely not a problem with pip. remote: error: subprocess-exited-with-error remote:
remote: × Getting requirements to build wheel did not run successfully. remote: │ exit code: 1 remote: ╰─> See above for output. remote:
remote: note: This error originates from a subprocess, and is likely not a problem with pip. remote: ! Push rejected, failed to compile Python app. remote: remote: ! Push failed remote: ! remote: ! ## Warning - The same version of this code has already been built: a6254a5a2c717e4f1db4959485f59991bc07faa6 remote: ! remote: ! We have detected that you have triggered a build from source code with version a6254a5a2c717e4f1db4959485f59991bc07faa6 remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch. remote: ! remote: ! If you are developing on a branch and deploying via git you must run: remote: ! remote: ! git push heroku :main remote: ! remote: ! This article goes into details on the behavior: remote: ! https://devcenter.heroku.com/articles/duplicate-build-version remote: remote: Verifying deploy... remote: remote: ! Push rejected to home-price-prediction. remote: To https://git.heroku.com/home-price-prediction.git ! [remote rejected] main -> main (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/home-price-prediction.git'

lovis-ambrose avatar Nov 30 '23 12:11 lovis-ambrose

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] avatar Mar 26 '24 01:03 github-actions[bot]

This issue was closed automatically because it has been stale for 10 days with no activity.

github-actions[bot] avatar Apr 05 '24 01:04 github-actions[bot]

Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [33 lines of output] Traceback (most recent call last): File "/app/superset/superset_env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/app/superset/superset_env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/superset/superset_env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 112, in get_requires_for_build_wheel backend = _build_backend() ^^^^^^^^^^^^^^^^ File "/app/superset/superset_env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend obj = import_module(mod_path) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1310, in _find_and_load_unlocked File "", line 488, in _call_with_frames_removed File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "/tmp/pip-build-env-s3die_uc/overlay/lib/python3.12/site-packages/setuptools/init.py", line 16, in import setuptools.version File "/tmp/pip-build-env-s3die_uc/overlay/lib/python3.12/site-packages/setuptools/version.py", line 1, in import pkg_resources File "/tmp/pip-build-env-s3die_uc/overlay/lib/python3.12/site-packages/pkg_resources/init.py", line 2172, in register_finder(pkgutil.ImpImporter, find_on_path) ^^^^^^^^^^^^^^^^^^^ AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? [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.

kamlesh-vishvkarma avatar Jun 12 '24 06:06 kamlesh-vishvkarma