!my_env/bin/python -m pip wheel --wheel-dir /kaggle/input/packages-for-sweagent/packages -r /kaggle/input/konwinski-prize-requirements/requirements.txt
"""error
Obtaining file:///kaggle/working/sweagent (from -r /kaggle/input/konwinski-prize-requirements/requirements.txt (line 83))
error: subprocess-exited-with-error
× pip subprocess to install build dependencies 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.
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies 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.
"""
!my_env/bin/python -m pip install --no-index --find-links=/kaggle/input/packages-for-sweagent/packages -r /kaggle/input/konwinski-prize-requirements/requirements.txt
"""
Looking in links: /kaggle/input/packages-for-sweagent/packages
Obtaining file:///kaggle/working/sweagent (from -r /kaggle/input/konwinski-prize-requirements/requirements.txt (line 83))
error: subprocess-exited-with-error
× pip subprocess to install build dependencies 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.
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies 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.
"""
!my_env/bin/python -m pip install -e /kaggle/working/sweagent/. --no-index \
--find-links=/kaggle/input/setuptools-75-8-2/ \
--find-links=/kaggle/input/packages-for-sweagent/packages
通过下面的代码并查看细节,我发现问题是由Setuptools安装引起的,因此我添加了Setuptools Wheel文件。
pip install -e /kaggle/working/sweagent/. --no-index -vvv