AutoGPT
AutoGPT copied to clipboard
× '''Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [21 lines of output]'''
⚠️ 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
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
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 "
@postmrtm does running "pip install python-docx" or "pip install docx" fix your issue?
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
AND
ModuleNotFoundError: No module named 'PyPDF2'
I downloaded the previous release and it's settled https://github.com/Significant-Gravitas/Auto-GPT/releases/tag/v0.3.1
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 "
@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.
((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
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..
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.
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'
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 .
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
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.
Kindly help me with this
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.
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
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.
This issue was closed automatically because it has been stale for 10 days with no activity.
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
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.